From 83f05714a0881cc7968547ec2c412c6b00dbc379 Mon Sep 17 00:00:00 2001 From: Surya Oktafendri Date: Sun, 8 Apr 2018 15:23:12 +0700 Subject: [PATCH] [generic] Non-greedy regex for share-videos.se embeds detection --- youtube_dl/extractor/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index f81b3818f..4b210da72 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -2990,7 +2990,7 @@ class GenericIE(InfoExtractor): # Look for Share-Videos.se embeds sharevideosse_urls = [m.group('url') for m in re.finditer( - r']+?src\s*=\s*(["\'])(?Phttps?://embed\.share-videos\.se/auto/embed/\d+\?.+)\1', + r']+?src\s*=\s*(["\'])(?Phttps?://embed\.share-videos\.se/auto/embed/\d+.+?)\1', webpage)] if sharevideosse_urls: return self.playlist_from_matches(