1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-26 18:57:42 +00:00

[lifenews] Use _proto_relative_url

This commit is contained in:
Sergey M․ 2015-05-05 21:49:36 +06:00
parent 07d2921c6d
commit b326b07adc

View file

@ -99,8 +99,7 @@ class LifeNewsIE(InfoExtractor):
return cur_info
if iframe_link:
if iframe_link.startswith('//'):
iframe_link = 'http:' + iframe_link
iframe_link = self._proto_relative_url(iframe_link, 'http:')
cur_info = dict(common_info)
cur_info.update({
'_type': 'url_transparent',