[npo] made test only_matching and removed unnecessary regex
This commit is contained in:
parent
da4c53789c
commit
ccdf9d663c
@ -36,7 +36,7 @@ class NPOIE(NPOBaseIE):
|
|||||||
(?:www\.)?
|
(?:www\.)?
|
||||||
(?:
|
(?:
|
||||||
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
|
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
|
||||||
npo3\.nl/(?!/)(?:[^/]+/){2}|
|
npo3\.nl/(?:[^/]+/){2}|
|
||||||
ntr\.nl/(?:[^/]+/){2,}|
|
ntr\.nl/(?:[^/]+/){2,}|
|
||||||
omroepwnl\.nl/video/fragment/[^/]+__|
|
omroepwnl\.nl/video/fragment/[^/]+__|
|
||||||
zapp\.nl/[^/]+/[^/]+/
|
zapp\.nl/[^/]+/[^/]+/
|
||||||
@ -91,15 +91,7 @@ class NPOIE(NPOBaseIE):
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://www.npo3.nl/3onderzoekt/16-09-2015/VPWON_1239870',
|
'url': 'https://www.npo3.nl/3onderzoekt/16-09-2015/VPWON_1239870',
|
||||||
'md5': '5196e6b895a779445a610f1f4c4145e7',
|
'only_matching': True,
|
||||||
'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