1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 13:32:58 +08:00

[generic] Fix regex for share-videos.se embeds detection

This commit is contained in:
Surya Oktafendri 2018-04-07 22:52:42 +07:00
parent 7531713b47
commit 752bfbc1fa
No known key found for this signature in database
GPG Key ID: 8CAB076E32F1FC8D

View File

@ -2990,7 +2990,7 @@ class GenericIE(InfoExtractor):
# Look for Share-Videos.se embeds
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)]
if sharevideosse_urls:
return self.playlist_from_matches(