diff options
author | Sergey M․ <dstftw@gmail.com> | 2018-12-07 00:00:06 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2018-12-07 00:00:06 +0700 |
commit | 33cc1ea586480ccc60fd25f2d42cfb44eec605c6 (patch) | |
tree | af2e3ab1d0e5faf5b105ab7ed4dedaf50ad68a6e /youtube_dl | |
parent | ae9d77dab54630ac480bd4082468d543a15c341e (diff) |
[nrktv] Relax _VALID_URL (closes #18304, closes #18387)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/nrk.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index a231735fb..c5001ef48 100644 --- a/youtube_dl/extractor/nrk.py +++ b/youtube_dl/extractor/nrk.py @@ -248,7 +248,7 @@ class NRKTVIE(NRKBaseIE): _VALID_URL = r'''(?x) https?:// (?:tv|radio)\.nrk(?:super)?\.no/ - (?:serie/[^/]+|program)/ + (?:serie(?:/[^/]+){1,2}|program)/ (?![Ee]pisodes)%s (?:/\d{2}-\d{2}-\d{4})? (?:\#del=(?P<part_id>\d+))? @@ -362,6 +362,9 @@ class NRKTVIE(NRKBaseIE): }, { 'url': 'https://radio.nrk.no/serie/dagsnytt/NPUB21019315/12-07-2015#', 'only_matching': True, + }, { + 'url': 'https://tv.nrk.no/serie/lindmo/2018/MUHU11006318/avspiller', + 'only_matching': True, }] |