From: Jaime Marquínez Ferrándiz Date: Sat, 21 Mar 2015 13:00:37 +0000 (+0100) Subject: [nrk:playlist] Restrict _VALID_URL X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=c9450c7ab19bbd24a4ff8643370cb4f235b0b380;p=youtube-dl.git [nrk:playlist] Restrict _VALID_URL It would also match /videos/PS... urls --- diff --git a/youtube_dl/extractor/nrk.py b/youtube_dl/extractor/nrk.py index c2a8202dd..1355ecea2 100644 --- a/youtube_dl/extractor/nrk.py +++ b/youtube_dl/extractor/nrk.py @@ -77,7 +77,7 @@ class NRKIE(InfoExtractor): class NRKPlaylistIE(InfoExtractor): - _VALID_URL = r'http://(?:www\.)?nrk\.no/(?:[^/]+/)*(?P[^/]+)' + _VALID_URL = r'http://(?:www\.)?nrk\.no/(?!video)[^/]+/(?P[^/]+)' _TEST = { 'url': 'http://www.nrk.no/troms/gjenopplev-den-historiske-solformorkelsen-1.12270763',