mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
[ie/CloudflareStream] Improve _VALID_URL
(#9280)
Closes #9171 Authored by: bashonly
This commit is contained in:
parent
eabbccc439
commit
f3d5face83
|
@ -10,7 +10,7 @@ class CloudflareStreamIE(InfoExtractor):
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:
|
(?:
|
||||||
(?:watch\.)?%s/|
|
(?:[\w-]+\.)?%s/|
|
||||||
%s
|
%s
|
||||||
)
|
)
|
||||||
(?P<id>%s)
|
(?P<id>%s)
|
||||||
|
@ -35,6 +35,9 @@ class CloudflareStreamIE(InfoExtractor):
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://embed.videodelivery.net/embed/r4xu.fla9.latest.js?video=81d80727f3022488598f68d323c1ad5e',
|
'url': 'https://embed.videodelivery.net/embed/r4xu.fla9.latest.js?video=81d80727f3022488598f68d323c1ad5e',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
}, {
|
||||||
|
'url': 'https://customer-aw5py76sw8wyqzmh.cloudflarestream.com/2463f6d3e06fa29710a337f5f5389fd8/iframe',
|
||||||
|
'only_matching': True,
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
|
|
Loading…
Reference in a new issue