summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-12-31 21:05:07 +0700
committerSergey M․ <dstftw@gmail.com>2018-12-31 21:05:07 +0700
commit4e1ddc8da9b318873d71d0283838af6aec1bc98d (patch)
treeb7a662c1fa8bb75472f239428d4fe9805537bdc1
parente4d51e751e361faaedaa50baf37501106459ab73 (diff)
downloadyoutube-dl-4e1ddc8da9b318873d71d0283838af6aec1bc98d.tar.gz
youtube-dl-4e1ddc8da9b318873d71d0283838af6aec1bc98d.tar.xz
youtube-dl-4e1ddc8da9b318873d71d0283838af6aec1bc98d.zip
[npo:live] Add support for npostart.nl (closes #18644)
-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 c2cb85a73..5a427c396 100644
--- a/youtube_dl/extractor/npo.py
+++ b/youtube_dl/extractor/npo.py
@@ -363,7 +363,7 @@ class NPOIE(NPOBaseIE):
 
 class NPOLiveIE(NPOBaseIE):
     IE_NAME = 'npo.nl:live'
-    _VALID_URL = r'https?://(?:www\.)?npo\.nl/live(?:/(?P<id>[^/?#&]+))?'
+    _VALID_URL = r'https?://(?:www\.)?npo(?:start)?\.nl/live(?:/(?P<id>[^/?#&]+))?'
 
     _TESTS = [{
         'url': 'http://www.npo.nl/live/npo-1',
@@ -380,6 +380,9 @@ class NPOLiveIE(NPOBaseIE):
     }, {
         'url': 'http://www.npo.nl/live',
         'only_matching': True,
+    }, {
+        'url': 'https://www.npostart.nl/live/npo-1',
+        'only_matching': True,
     }]
 
     def _real_extract(self, url):