summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-02-17 20:13:02 +0700
committerSergey M․ <dstftw@gmail.com>2018-02-17 20:32:26 +0700
commitc4e74964217f0c200b8eda752532dd09fc1c7c8b (patch)
tree9484eb1d0726cdb572146a73a9d541aceee3f088
parentb8adcec4eac2fb8946547b581a6e7139171dc9d1 (diff)
downloadyoutube-dl-c4e74964217f0c200b8eda752532dd09fc1c7c8b.tar.gz
youtube-dl-c4e74964217f0c200b8eda752532dd09fc1c7c8b.tar.xz
youtube-dl-c4e74964217f0c200b8eda752532dd09fc1c7c8b.zip
[npo] Relax _VALID_URL (closes #14987, closes #14994)
-rw-r--r--youtube_dl/extractor/npo.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/npo.py b/youtube_dl/extractor/npo.py
index 754a97443..4bfebe473 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -38,7 +38,7 @@ class NPOIE(NPOBaseIE):
                                 npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
                                 ntr\.nl/(?:[^/]+/){2,}|
                                 omroepwnl\.nl/video/fragment/[^/]+__|
-                                (?:zapp|npo3)\.nl/(?:[^/]+/){2}
+                                (?:zapp|npo3)\.nl/(?:[^/]+/){2,}
                             )
                         )
                         (?P<id>[^/?#]+)
@@ -156,6 +156,9 @@ class NPOIE(NPOBaseIE):
     }, {
         'url': 'http://www.npo.nl/radio-gaga/13-06-2017/BNN_101383373',
         'only_matching': True,
+    }, {
+        'url': 'https://www.zapp.nl/1803-skelterlab/instructie-video-s/740-instructievideo-s/POMS_AT_11736927',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):