[WDR] Expand valid URL

Closes #1749
This commit is contained in:
pukkandan 2021-11-22 13:41:57 +05:30
parent 849d699a8b
commit c98d4df23b
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View File

@ -22,7 +22,11 @@ from ..utils import (
class WDRIE(InfoExtractor): class WDRIE(InfoExtractor):
_VALID_URL = r'https?://deviceids-medp\.wdr\.de/ondemand/\d+/(?P<id>\d+)\.js' _VALID_URL = r'''(?x)https?://
(?:deviceids-medp\.wdr\.de/ondemand/\d+/|
kinder\.wdr\.de/(?!mediathek/)[^#?]+-)
(?P<id>\d+)\.(?:js|assetjsonp)
'''
_GEO_COUNTRIES = ['DE'] _GEO_COUNTRIES = ['DE']
_TEST = { _TEST = {
'url': 'http://deviceids-medp.wdr.de/ondemand/155/1557833.js', 'url': 'http://deviceids-medp.wdr.de/ondemand/155/1557833.js',