1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-01-23 17:33:11 +08:00

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

This commit is contained in:
Surya Oktafendri 2018-04-08 15:23:12 +07:00
parent 752bfbc1fa
commit 83f05714a0
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 # 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\s*=\s*(["\'])(?P<url>https?://embed\.share-videos\.se/auto/embed/\d+\?.+)\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(