youtube-dl

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

commit 68f705cac53510dc272eebfe83694a2cbf2c2b46
parent 079d1dcd8033b7c1470ad84899967d787cf1dec7
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu,  1 Jan 2015 00:12:41 +0600

[tnaflix] Make sure config URL has correct scheme

Diffstat:
Myoutube_dl/extractor/tnaflix.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py @@ -49,8 +49,8 @@ class TNAFlixIE(InfoExtractor): if duration: duration = parse_duration(duration[1:]) - cfg_url = self._html_search_regex( - self._CONFIG_REGEX, webpage, 'flashvars.config') + cfg_url = self._proto_relative_url(self._html_search_regex( + self._CONFIG_REGEX, webpage, 'flashvars.config'), 'http:') cfg_xml = self._download_xml( cfg_url, display_id, note='Downloading metadata',