diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-04-16 22:39:20 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-04-16 22:39:20 +0600 |
commit | 11e60fcad83725cd74fb5b94946e2b49456435eb (patch) | |
tree | f850df8e9586770f6f2c692aea184b0f37236849 | |
parent | c23533a100eb0a383b60ed2e5990602e9318fe4b (diff) |
[extractor/generic] Improve instagram embeds (Closes #9213)
-rw-r--r-- | youtube_dl/extractor/generic.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |