commit: 43181707799fe89b477759a6a20ce0bb6a1e5d82
parent fb626c05867deab04425bad0c0b16b55473841a2
Author: Michael Munch <mm.munk@gmail.com>
Date: Sun, 29 Nov 2020 07:44:36 +0100
[drtv] Extend _VALID_URL (#27243)
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py
@@ -29,7 +29,7 @@ class DRTVIE(InfoExtractor):
https?://
(?:
(?:www\.)?dr\.dk/(?:tv/se|nyheder|radio(?:/ondemand)?)/(?:[^/]+/)*|
- (?:www\.)?(?:dr\.dk|dr-massive\.com)/drtv/(?:se|episode)/
+ (?:www\.)?(?:dr\.dk|dr-massive\.com)/drtv/(?:se|episode|program)/
)
(?P<id>[\da-z_-]+)
'''
@@ -111,6 +111,9 @@ class DRTVIE(InfoExtractor):
}, {
'url': 'https://dr-massive.com/drtv/se/bonderoeven_71769',
'only_matching': True,
+ }, {
+ 'url': 'https://www.dr.dk/drtv/program/jagten_220924',
+ 'only_matching': True,
}]
def _real_extract(self, url):