Skip to content

Commit

Permalink
[ie/CloudflareStream] Improve _VALID_URL (#9280)
Browse files Browse the repository at this point in the history
Closes #9171
Authored by: bashonly
  • Loading branch information
bashonly committed Feb 24, 2024
1 parent eabbccc commit f3d5fac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion yt_dlp/extractor/cloudflarestream.py
Expand Up @@ -10,7 +10,7 @@ class CloudflareStreamIE(InfoExtractor):
_VALID_URL = r'''(?x)
https?://
(?:
(?:watch\.)?%s/|
(?:[\w-]+\.)?%s/|
%s
)
(?P<id>%s)
Expand All @@ -35,6 +35,9 @@ class CloudflareStreamIE(InfoExtractor):
}, {
'url': 'https://embed.videodelivery.net/embed/r4xu.fla9.latest.js?video=81d80727f3022488598f68d323c1ad5e',
'only_matching': True,
}, {
'url': 'https://customer-aw5py76sw8wyqzmh.cloudflarestream.com/2463f6d3e06fa29710a337f5f5389fd8/iframe',
'only_matching': True,
}]

def _real_extract(self, url):
Expand Down

0 comments on commit f3d5fac

Please sign in to comment.