mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 09:07:58 +01:00
[nrk:playlist] Restrict _VALID_URL
It would also match /videos/PS... urls
This commit is contained in:
parent
faa1b5c292
commit
c9450c7ab1
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ def _real_extract(self, url):
|
|||
|
||||
|
||||
class NRKPlaylistIE(InfoExtractor):
|
||||
_VALID_URL = r'http://(?:www\.)?nrk\.no/(?:[^/]+/)*(?P<id>[^/]+)'
|
||||
_VALID_URL = r'http://(?:www\.)?nrk\.no/(?!video)[^/]+/(?P<id>[^/]+)'
|
||||
|
||||
_TEST = {
|
||||
'url': 'http://www.nrk.no/troms/gjenopplev-den-historiske-solformorkelsen-1.12270763',
|
||||
|
|
Loading…
Reference in a new issue