summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--test/test_subtitles.py2
-rw-r--r--youtube_dl/extractor/vimeo.py11
2 files changed, 6 insertions, 7 deletions
diff --git a/test/test_subtitles.py b/test/test_subtitles.py
index d2f5b050d..79991e646 100644
--- a/test/test_subtitles.py
+++ b/test/test_subtitles.py
@@ -227,7 +227,7 @@ class TestBlipTVSubtitles(BaseTestSubtitles):
class TestVimeoSubtitles(BaseTestSubtitles):
url = 'http://vimeo.com/76979871'
IE = VimeoIE
-
+
def test_no_writesubtitles(self):
subtitles = self.getSubtitles()
self.assertEqual(subtitles, None)
diff --git a/youtube_dl/extractor/vimeo.py b/youtube_dl/extractor/vimeo.py
index 0f10c8917..4bc262049 100644
--- a/youtube_dl/extractor/vimeo.py
+++ b/youtube_dl/extractor/vimeo.py
@@ -10,7 +10,6 @@ from .subtitles import SubtitlesInfoExtractor
from ..utils import (
compat_urllib_parse,
compat_urllib_request,
-
clean_html,
get_element_by_attribute,
ExtractorError,
@@ -300,13 +299,13 @@ class VimeoIE(SubtitlesInfoExtractor):
return
return {
- 'id': video_id,
+ 'id': video_id,
'uploader': video_uploader,
'uploader_id': video_uploader_id,
- 'upload_date': video_upload_date,
- 'title': video_title,
- 'thumbnail': video_thumbnail,
- 'description': video_description,
+ 'upload_date': video_upload_date,
+ 'title': video_title,
+ 'thumbnail': video_thumbnail,
+ 'description': video_description,
'formats': formats,
'webpage_url': url,
'view_count': view_count,