[npo] added npo3 support

This commit is contained in:
dubber0 2017-07-21 15:26:32 +02:00
parent 0396806f67
commit da4c53789c

View File

@ -28,7 +28,7 @@ class NPOBaseIE(InfoExtractor):
class NPOIE(NPOBaseIE):
IE_NAME = 'npo'
IE_DESC = 'npo.nl and ntr.nl'
IE_DESC = 'npo.nl, npo3.nl and ntr.nl'
_VALID_URL = r'''(?x)
(?:
npo:|
@ -36,6 +36,7 @@ class NPOIE(NPOBaseIE):
(?:www\.)?
(?:
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
npo3\.nl/(?!/)(?:[^/]+/){2}|
ntr\.nl/(?:[^/]+/){2,}|
omroepwnl\.nl/video/fragment/[^/]+__|
zapp\.nl/[^/]+/[^/]+/
@ -88,6 +89,17 @@ class NPOIE(NPOBaseIE):
'params': {
'skip_download': True,
}
}, {
'url': 'https://www.npo3.nl/3onderzoekt/16-09-2015/VPWON_1239870',
'md5': '5196e6b895a779445a610f1f4c4145e7',
'info_dict': {
'id': 'VPWON_1239870',
'ext': 'm4v',
'title': '3Onderzoekt: Krakers',
'description': 'md5:0f79d45e282659ba4be99b125196b6af',
'upload_date': '20150916',
'duration': 1514,
},
}, {
# non asf in streams
'url': 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771',