diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-03-28 23:35:55 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-03-28 23:35:55 +0100 |
commit | 5f88e028183896f67e35d2d82d9596213cd2c73e (patch) | |
tree | c7246dd7a39673867a97e25680f73ddab7e84c28 /youtube_dl/extractor/ultimedia.py | |
parent | 616af2f4b9458dd15152ddf6a7905f7818ae583a (diff) |
[ultimedia] PEP8
Diffstat (limited to 'youtube_dl/extractor/ultimedia.py')
-rw-r--r-- | youtube_dl/extractor/ultimedia.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/youtube_dl/extractor/ultimedia.py b/youtube_dl/extractor/ultimedia.py index 06554a1be..96c809eaf 100644 --- a/youtube_dl/extractor/ultimedia.py +++ b/youtube_dl/extractor/ultimedia.py @@ -42,7 +42,6 @@ class UltimediaIE(InfoExtractor): def _real_extract(self, url): video_id = self._match_id(url) - webpage = self._download_webpage(url, video_id) deliver_url = self._search_regex( @@ -81,8 +80,8 @@ class UltimediaIE(InfoExtractor): title = clean_html(( self._html_search_regex( r'(?s)<div\s+id="catArticle">.+?</div>(.+?)</h1>', - webpage, 'title', default=None) - or self._search_regex( + webpage, 'title', default=None) or + self._search_regex( r"var\s+nameVideo\s*=\s*'([^']+)'", deliver_page, 'title'))) |