diff --git a/test/test_subtitles.py b/test/test_subtitles.py index d2f5b050d0..79991e6462 100644 --- a/test/test_subtitles.py +++ b/test/test_subtitles.py @@ -227,7 +227,7 @@ def test_allsubtitles(self): 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 0f10c89179..4bc262049c 100644 --- a/youtube_dl/extractor/vimeo.py +++ b/youtube_dl/extractor/vimeo.py @@ -10,7 +10,6 @@ from ..utils import ( compat_urllib_parse, compat_urllib_request, - clean_html, get_element_by_attribute, ExtractorError, @@ -300,13 +299,13 @@ def _real_extract(self, url): 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,