aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/wdr.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/wdr.py')
-rw-r--r--yt_dlp/extractor/wdr.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/yt_dlp/extractor/wdr.py b/yt_dlp/extractor/wdr.py
index d0ad69477..de5dc2666 100644
--- a/yt_dlp/extractor/wdr.py
+++ b/yt_dlp/extractor/wdr.py
@@ -103,8 +103,6 @@ class WDRIE(InfoExtractor):
a_format['ext'] = ext
formats.append(a_format)
- self._sort_formats(formats)
-
caption_url = media_resource.get('captionURL')
if caption_url:
subtitles['de'] = [{
@@ -133,7 +131,7 @@ class WDRIE(InfoExtractor):
}
-class WDRPageIE(WDRIE):
+class WDRPageIE(WDRIE): # XXX: Do not subclass from concrete IE
_MAUS_REGEX = r'https?://(?:www\.)wdrmaus.de/(?:[^/]+/)*?(?P<maus_id>[^/?#.]+)(?:/?|/index\.php5|\.php5)$'
_PAGE_REGEX = r'/(?:mediathek/)?(?:[^/]+/)*(?P<display_id>[^/]+)\.html'
_VALID_URL = r'https?://(?:www\d?\.)?(?:(?:kinder\.)?wdr\d?|sportschau)\.de' + _PAGE_REGEX + '|' + _MAUS_REGEX