[wdr] Modernize

This commit is contained in:
Philipp Hagemeister 2015-01-09 20:52:49 +01:00
parent f90ad27375
commit 7b6faddfc8

View File

@ -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