From b0268cb6ce16f54ef23901c860cba6be1e16cf37 Mon Sep 17 00:00:00 2001 From: "Sergey M." Date: Mon, 3 Feb 2014 20:24:11 +0700 Subject: [PATCH] [vimeo] Remove superfluous whitespace --- test/test_subtitles.py | 2 +- youtube_dl/extractor/vimeo.py | 11 +++++------ 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 @@ 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 0f10c8917..4bc262049 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,