1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-22 14:37:55 +01:00

[nrk:playlist] Restrict _VALID_URL

It would also match /videos/PS... urls
This commit is contained in:
Jaime Marquínez Ferrándiz 2015-03-21 14:00:37 +01:00
parent faa1b5c292
commit c9450c7ab1

View File

@ -77,7 +77,7 @@ class NRKIE(InfoExtractor):
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',