mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-01 23:12:40 +00:00
[lifenews] Use _proto_relative_url
This commit is contained in:
parent
07d2921c6d
commit
b326b07adc
1 changed files with 1 additions and 2 deletions
|
@ -99,8 +99,7 @@ def make_entry(video_id, media, video_number=None):
|
|||
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',
|
||||
|
|
Loading…
Reference in a new issue