From: Sergey M. Date: Mon, 3 Feb 2014 13:24:11 +0000 (+0700) Subject: [vimeo] Remove superfluous whitespace X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=b0268cb6ce16f54ef23901c860cba6be1e16cf37;p=youtube-dl [vimeo] Remove superfluous whitespace --- 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,