[cleanup] Misc

Closes #5541
This commit is contained in:
pukkandan 2022-11-16 06:27:43 +05:30
parent a4894d3e25
commit 6368e2e639
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
75 changed files with 194 additions and 156 deletions

View file

@ -133,7 +133,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