mirror of
https://github.com/l1ving/youtube-dl
synced 2025-01-23 22:33:21 +08:00
[generic] Fix regex for share-videos.se embeds detection
This commit is contained in:
parent
7531713b47
commit
752bfbc1fa
@ -2990,7 +2990,7 @@ class GenericIE(InfoExtractor):
|
|||||||
|
|
||||||
# Look for Share-Videos.se embeds
|
# Look for Share-Videos.se embeds
|
||||||
sharevideosse_urls = [m.group('url') for m in re.finditer(
|
sharevideosse_urls = [m.group('url') for m in re.finditer(
|
||||||
r'<iframe[^>]+?src=(["\']+)(?P<url>https?://embed\.share-videos\.se/auto/embed/[^"\']+)\1',
|
r'<iframe[^>]+?src\s*=\s*(["\'])(?P<url>https?://embed\.share-videos\.se/auto/embed/\d+\?.+)\1',
|
||||||
webpage)]
|
webpage)]
|
||||||
if sharevideosse_urls:
|
if sharevideosse_urls:
|
||||||
return self.playlist_from_matches(
|
return self.playlist_from_matches(
|
||||||
|
Loading…
Reference in New Issue
Block a user