aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Munch <mm.munk@gmail.com>2020-11-29 07:44:36 +0100
committerGitHub <noreply@github.com>2020-11-29 13:44:36 +0700
commit43181707799fe89b477759a6a20ce0bb6a1e5d82 (patch)
tree5c0620b93f2195746a79dbbd4f1d9e51d126a6f7
parentfb626c05867deab04425bad0c0b16b55473841a2 (diff)
[drtv] Extend _VALID_URL (#27243)
-rw-r--r--youtube_dl/extractor/drtv.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/drtv.py b/youtube_dl/extractor/drtv.py
index 390e79f8c..c0036adb6 100644
--- 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):