[npo] added npo3 support
This commit is contained in:
parent
0396806f67
commit
da4c53789c
@ -28,7 +28,7 @@ class NPOBaseIE(InfoExtractor):
|
|||||||
|
|
||||||
class NPOIE(NPOBaseIE):
|
class NPOIE(NPOBaseIE):
|
||||||
IE_NAME = 'npo'
|
IE_NAME = 'npo'
|
||||||
IE_DESC = 'npo.nl and ntr.nl'
|
IE_DESC = 'npo.nl, npo3.nl and ntr.nl'
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
(?:
|
(?:
|
||||||
npo:|
|
npo:|
|
||||||
@ -36,6 +36,7 @@ class NPOIE(NPOBaseIE):
|
|||||||
(?:www\.)?
|
(?:www\.)?
|
||||||
(?:
|
(?:
|
||||||
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
|
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
|
||||||
|
npo3\.nl/(?!/)(?:[^/]+/){2}|
|
||||||
ntr\.nl/(?:[^/]+/){2,}|
|
ntr\.nl/(?:[^/]+/){2,}|
|
||||||
omroepwnl\.nl/video/fragment/[^/]+__|
|
omroepwnl\.nl/video/fragment/[^/]+__|
|
||||||
zapp\.nl/[^/]+/[^/]+/
|
zapp\.nl/[^/]+/[^/]+/
|
||||||
@ -88,6 +89,17 @@ class NPOIE(NPOBaseIE):
|
|||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'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
|
# non asf in streams
|
||||||
'url': 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771',
|
'url': 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user