|
|
@ -363,7 +363,7 @@ class NPOIE(NPOBaseIE):
|
|
|
|
|
|
|
|
|
|
|
|
class NPOLiveIE(NPOBaseIE):
|
|
|
|
class NPOLiveIE(NPOBaseIE):
|
|
|
|
IE_NAME = 'npo.nl:live'
|
|
|
|
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 = [{
|
|
|
|
_TESTS = [{
|
|
|
|
'url': 'http://www.npo.nl/live/npo-1',
|
|
|
|
'url': 'http://www.npo.nl/live/npo-1',
|
|
|
@ -380,6 +380,9 @@ class NPOLiveIE(NPOBaseIE):
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
'url': 'http://www.npo.nl/live',
|
|
|
|
'url': 'http://www.npo.nl/live',
|
|
|
|
'only_matching': True,
|
|
|
|
'only_matching': True,
|
|
|
|
|
|
|
|
}, {
|
|
|
|
|
|
|
|
'url': 'https://www.npostart.nl/live/npo-1',
|
|
|
|
|
|
|
|
'only_matching': True,
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
|
|
def _real_extract(self, url):
|
|
|
|
def _real_extract(self, url):
|
|
|
|