projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c23533a
)
[extractor/generic] Improve instagram embeds (Closes #9213)
author
Sergey M․
<dstftw@gmail.com>
Sat, 16 Apr 2016 16:39:20 +0000
(22:39 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 16 Apr 2016 16:39:20 +0000
(22:39 +0600)
youtube_dl/extractor/generic.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/generic.py
b/youtube_dl/extractor/generic.py
index 518b4f9de1c49cd7884f8c590422e8249e476d20..95d23325900e8ed0d61bcec5d09ff3ba3d5e7a82 100644
(file)
--- 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)