[drtv] Extend _VALID_URL (#27243)
authorMichael Munch <mm.munk@gmail.com>
Sun, 29 Nov 2020 06:44:36 +0000 (07:44 +0100)
committerGitHub <noreply@github.com>
Sun, 29 Nov 2020 06:44:36 +0000 (13:44 +0700)
youtube_dl/extractor/drtv.py

index 390e79f8cfae9cc0ec4b0f045ed8bac88bd6c523..c0036adb619857c9a8b01398503f6eb4f44b0d84 100644 (file)
@@ -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):