diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-09 20:52:49 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-09 20:52:49 +0100 |
commit | 7b6faddfc808ba798ab654312e98d01005cda9ee (patch) | |
tree | bfd6edd6fc952afd218d45f48f6b30e4d6f477a4 | |
parent | f90ad27375206433cdcb6609816893cb3c29c70d (diff) |
[wdr] Modernize
-rw-r--r-- | youtube_dl/extractor/wdr.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py index 8e25ecf28..d1c46ccb3 100644 --- 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 |