From: Sergey M․ Date: Wed, 31 Dec 2014 18:12:41 +0000 (+0600) Subject: [tnaflix] Make sure config URL has correct scheme X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=68f705cac53510dc272eebfe83694a2cbf2c2b46;p=youtube-dl [tnaflix] Make sure config URL has correct scheme --- diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py index b9179ca80..d48cbbf14 100644 --- 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',