Skip to content

Commit

Permalink
[nrktv] Relax _VALID_URL (closes #18304, closes #18387)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed Dec 6, 2018
1 parent ae9d77d commit 33cc1ea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion youtube_dl/extractor/nrk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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+))?
Expand Down Expand Up @@ -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,
}]


Expand Down

0 comments on commit 33cc1ea

Please sign in to comment.