aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-03-21 14:00:37 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-03-21 14:00:37 +0100
commitc9450c7ab19bbd24a4ff8643370cb4f235b0b380 (patch)
tree4e2d52fe284d19bd17db8dfd662847185bc75f0f
parentfaa1b5c2920f1d50f01b83e96b5b0f136edc74f7 (diff)
[nrk:playlist] Restrict _VALID_URL
It would also match /videos/PS... urls
-rw-r--r--youtube_dl/extractor/nrk.py2
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',