diff options
author | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-21 14:00:37 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-03-21 14:00:37 +0100 |
commit | c9450c7ab19bbd24a4ff8643370cb4f235b0b380 (patch) | |
tree | 4e2d52fe284d19bd17db8dfd662847185bc75f0f /youtube_dl/extractor/nrk.py | |
parent | faa1b5c2920f1d50f01b83e96b5b0f136edc74f7 (diff) |
[nrk:playlist] Restrict _VALID_URL
It would also match /videos/PS... urls
Diffstat (limited to 'youtube_dl/extractor/nrk.py')
-rw-r--r-- | youtube_dl/extractor/nrk.py | 2 |
1 files changed, 1 insertions, 1 deletions
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<id>[^/]+)' + _VALID_URL = r'http://(?:www\.)?nrk\.no/(?!video)[^/]+/(?P<id>[^/]+)' _TEST = { 'url': 'http://www.nrk.no/troms/gjenopplev-den-historiske-solformorkelsen-1.12270763', |