projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90ad27
)
[wdr] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 9 Jan 2015 19:52:49 +0000
(20:52 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 9 Jan 2015 19:52:49 +0000
(20:52 +0100)
youtube_dl/extractor/wdr.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wdr.py
b/youtube_dl/extractor/wdr.py
index 8e25ecf280769166a49d18cfd2508bd6d90caa74..d1c46ccb347125fd048be7b3b8a2b5860db35e32 100644
(file)
--- a/
youtube_dl/extractor/wdr.py
+++ b/
youtube_dl/extractor/wdr.py
@@
-172,8
+172,7
@@
class WDRMausIE(InfoExtractor):
}]
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
webpage = self._download_webpage(url, video_id)
param_code = self._html_search_regex(
@@
-224,5
+223,3
@@
class WDRMausIE(InfoExtractor):
'thumbnail': thumbnail,
'upload_date': upload_date,
}
-
-# TODO test _1