[cloudflare] add watch.videodelivery.net subdomain.

This commit is contained in:
Nels Nelson 2019-05-10 14:21:24 -05:00
parent 4c2822df6d
commit d362f45fcd

View File

@ -10,7 +10,7 @@ class CloudflareStreamIE(InfoExtractor):
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)
https?:// https?://
(?: (?:
(?:watch\.)?cloudflarestream\.com/| (?:watch\.)?(?:cloudflarestream\.com|videodelivery\.net)/|
embed\.(?:cloudflarestream\.com|videodelivery\.net)/embed/[^/]+\.js\?.*?\bvideo= embed\.(?:cloudflarestream\.com|videodelivery\.net)/embed/[^/]+\.js\?.*?\bvideo=
) )
(?P<id>[\da-f]+) (?P<id>[\da-f]+)
@ -28,6 +28,12 @@ class CloudflareStreamIE(InfoExtractor):
}, { }, {
'url': 'https://watch.cloudflarestream.com/9df17203414fd1db3e3ed74abbe936c1', 'url': 'https://watch.cloudflarestream.com/9df17203414fd1db3e3ed74abbe936c1',
'only_matching': True, 'only_matching': True,
}, {
'url': 'https://watch.videodelivery.net/9df17203414fd1db3e3ed74abbe936c1',
'only_matching': True,
}, {
'url': 'https://videodelivery.net/9df17203414fd1db3e3ed74abbe936c1',
'only_matching': True,
}, { }, {
'url': 'https://cloudflarestream.com/31c9291ab41fac05471db4e73aa11717/manifest/video.mpd', 'url': 'https://cloudflarestream.com/31c9291ab41fac05471db4e73aa11717/manifest/video.mpd',
'only_matching': True, 'only_matching': True,