mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-01 22:47:59 +00:00
[wdr] Modernize
This commit is contained in:
parent
f90ad27375
commit
7b6faddfc8
1 changed files with 1 additions and 4 deletions
|
@ -172,8 +172,7 @@ class WDRMausIE(InfoExtractor):
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
video_id = self._match_id(url)
|
||||||
video_id = mobj.group('id')
|
|
||||||
|
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
param_code = self._html_search_regex(
|
param_code = self._html_search_regex(
|
||||||
|
@ -224,5 +223,3 @@ class WDRMausIE(InfoExtractor):
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
'upload_date': upload_date,
|
'upload_date': upload_date,
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO test _1
|
|
||||||
|
|
Loading…
Reference in a new issue