From: Sergey M․ Date: Sat, 16 Apr 2016 16:39:20 +0000 (+0600) Subject: [extractor/generic] Improve instagram embeds (Closes #9213) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=11e60fcad83725cd74fb5b94946e2b49456435eb;p=youtube-dl [extractor/generic] Improve instagram embeds (Closes #9213) --- diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py index 518b4f9de..95d233259 100644 --- a/youtube_dl/extractor/generic.py +++ b/youtube_dl/extractor/generic.py @@ -1956,7 +1956,8 @@ class GenericIE(InfoExtractor): # Look for Instagram embeds instagram_embed_url = InstagramIE._extract_embed_url(webpage) if instagram_embed_url is not None: - return self.url_result(instagram_embed_url, InstagramIE.ie_key()) + return self.url_result( + self._proto_relative_url(instagram_embed_url), InstagramIE.ie_key()) # Look for LiveLeak embeds liveleak_url = LiveLeakIE._extract_url(webpage)