Skip to content

Commit

Permalink
[drtv] Extend _VALID_URL (ytdl-org#27243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Munken authored Nov 29, 2020
1 parent fb626c0 commit 4318170
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/drtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_-]+)
'''
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 4318170

Please sign in to comment.