projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
616af2f
)
[ultimedia] PEP8
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 28 Mar 2015 22:35:55 +0000
(23:35 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 28 Mar 2015 22:35:55 +0000
(23:35 +0100)
youtube_dl/extractor/ultimedia.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ultimedia.py
b/youtube_dl/extractor/ultimedia.py
index 06554a1befefb938796f106b5ac45c75d942dc14..96c809eaf7155290210e0f8b18d3a2c7c948ba97 100644
(file)
--- 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')))