[nrktv] Relax _VALID_URL (closes #18304, closes #18387)

pull/18434/head
Sergey M․ 6 years ago
parent ae9d77dab5
commit 33cc1ea586
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

@ -248,7 +248,7 @@ class NRKTVIE(NRKBaseIE):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
https?:// https?://
(?:tv|radio)\.nrk(?:super)?\.no/ (?:tv|radio)\.nrk(?:super)?\.no/
(?:serie/[^/]+|program)/ (?:serie(?:/[^/]+){1,2}|program)/
(?![Ee]pisodes)%s (?![Ee]pisodes)%s
(?:/\d{2}-\d{2}-\d{4})? (?:/\d{2}-\d{2}-\d{4})?
(?:\#del=(?P<part_id>\d+))? (?:\#del=(?P<part_id>\d+))?
@ -362,6 +362,9 @@ class NRKTVIE(NRKBaseIE):
}, { }, {
'url': 'https://radio.nrk.no/serie/dagsnytt/NPUB21019315/12-07-2015#', 'url': 'https://radio.nrk.no/serie/dagsnytt/NPUB21019315/12-07-2015#',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://tv.nrk.no/serie/lindmo/2018/MUHU11006318/avspiller',
'only_matching': True,
}] }]

Loading…
Cancel
Save