[npo] made test only_matching and removed unnecessary regex

This commit is contained in:
dubber0 2017-07-21 18:50:41 +02:00
parent da4c53789c
commit ccdf9d663c

View File

@ -36,7 +36,7 @@ class NPOIE(NPOBaseIE):
(?:www\.)?
(?:
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
npo3\.nl/(?!/)(?:[^/]+/){2}|
npo3\.nl/(?:[^/]+/){2}|
ntr\.nl/(?:[^/]+/){2,}|
omroepwnl\.nl/video/fragment/[^/]+__|
zapp\.nl/[^/]+/[^/]+/
@ -91,15 +91,7 @@ class NPOIE(NPOBaseIE):
}
}, {
'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,
},
'only_matching': True,
}, {
# non asf in streams
'url': 'http://www.npo.nl/hoe-gaat-europa-verder-na-parijs/10-01-2015/WO_NOS_762771',