Skip to content

A feature-rich command-line audio/video downloader

[wdr] Modernize

Philipp Hagemeister7b6faddfc808
diff --git a/youtube_dl/extractor/wdr.py b/youtube_dl/extractor/wdr.py
index 8e25ecf280..d1c46ccb34 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