youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit b326b07adc49466a4bdd0ea3c63f329a9e523121
parent 07d2921c6d13ce43adb9347677e50c36268fe54f
Author: Sergey M․ <dstftw@gmail.com>
Date:   Tue,  5 May 2015 21:49:36 +0600

[lifenews] Use `_proto_relative_url`

Diffstat:
Myoutube_dl/extractor/lifenews.py | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/youtube_dl/extractor/lifenews.py b/youtube_dl/extractor/lifenews.py @@ -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',