1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-31 00:32:52 +08:00

[npo] Relax _VALID_URL (closes #14987, closes #14994)

This commit is contained in:
Sergey M․ 2018-02-17 20:13:02 +07:00
parent b8adcec4ea
commit c4e7496421
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -38,7 +38,7 @@ class NPOIE(NPOBaseIE):
npo\.nl/(?!(?:live|radio)/)(?:[^/]+/){2}|
ntr\.nl/(?:[^/]+/){2,}|
omroepwnl\.nl/video/fragment/[^/]+__|
(?:zapp|npo3)\.nl/(?:[^/]+/){2}
(?:zapp|npo3)\.nl/(?:[^/]+/){2,}
)
)
(?P<id>[^/?#]+)
@ -156,6 +156,9 @@ class NPOIE(NPOBaseIE):
}, {
'url': 'http://www.npo.nl/radio-gaga/13-06-2017/BNN_101383373',
'only_matching': True,
}, {
'url': 'https://www.zapp.nl/1803-skelterlab/instructie-video-s/740-instructievideo-s/POMS_AT_11736927',
'only_matching': True,
}]
def _real_extract(self, url):