projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e47264
)
[nrktv] Relax _VALID_URL (closes #27299, closes #26185)
author
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 16:38:42 +0000
(23:38 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 4 Dec 2020 16:38:42 +0000
(23:38 +0700)
youtube_dl/extractor/nrk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nrk.py
b/youtube_dl/extractor/nrk.py
index 4a395546f67331d4e9b32073ba3ed576b0c0c468..0c4b126ed2f53f8a63767de2af54284cd50b89ab 100644
(file)
--- 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