[npo] Relax _VALID_URL (closes #14987, closes #14994)
authorSergey M․ <dstftw@gmail.com>
Sat, 17 Feb 2018 13:13:02 +0000 (20:13 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 17 Feb 2018 13:32:26 +0000 (20:32 +0700)
youtube_dl/extractor/npo.py

index 754a974433e780f0350fc0b4a48eba8a5f4454db..4bfebe473d9196a7c00dcc3636efb889f90e1be1 100644 (file)
@@ -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):