1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 03:32:05 +00: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):