[extractor/generic] Improve instagram embeds (Closes #9213)
This commit is contained in:
parent
c23533a100
commit
11e60fcad8
1 changed files with 2 additions and 1 deletions
|
@ -1956,7 +1956,8 @@ class GenericIE(InfoExtractor):
|
||||||
# Look for Instagram embeds
|
# Look for Instagram embeds
|
||||||
instagram_embed_url = InstagramIE._extract_embed_url(webpage)
|
instagram_embed_url = InstagramIE._extract_embed_url(webpage)
|
||||||
if instagram_embed_url is not None:
|
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
|
# Look for LiveLeak embeds
|
||||||
liveleak_url = LiveLeakIE._extract_url(webpage)
|
liveleak_url = LiveLeakIE._extract_url(webpage)
|
||||||
|
|
Loading…
Reference in a new issue