aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2020-12-04 23:38:42 +0700
committerSergey M․ <dstftw@gmail.com>2020-12-04 23:38:42 +0700
commitc5636e9bcaf37f2190b1e7d73785fde399001c29 (patch)
tree355cec6eb26ba295bd0958da8ee8f407a80f0796 /youtube_dl
parent2e4726423544041887641df18e2f4c4c5e3f4f6d (diff)
[nrktv] Relax _VALID_URL (closes #27299, closes #26185)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/nrk.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py
index 4a395546f..0c4b126ed 100644
--- a/youtube_dl/extractor/nrk.py
+++ b/youtube_dl/extractor/nrk.py
@@ -146,7 +146,7 @@ class NRKTVIE(NRKBaseIE):
_VALID_URL = r'''(?x)
https?://
(?:tv|radio)\.nrk(?:super)?\.no/
- (?:serie(?:/[^/]+){1,2}|program)/
+ (?:serie(?:/[^/]+){1,}|program)/
(?![Ee]pisodes)%s
(?:/\d{2}-\d{2}-\d{4})?
(?:\#del=(?P<part_id>\d+))?
@@ -275,6 +275,9 @@ class NRKTVIE(NRKBaseIE):
}, {
'url': 'https://tv.nrk.no/serie/lindmo/2018/MUHU11006318/avspiller',
'only_matching': True,
+ }, {
+ 'url': 'https://radio.nrk.no/serie/dagsnytt/sesong/201507/NPUB21019315',
+ 'only_matching': True,
}]
_api_host = None