1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 16:07:32 +08:00

[tnaflix] Make sure config URL has correct scheme

This commit is contained in:
Sergey M․ 2015-01-01 00:12:41 +06:00
parent 079d1dcd80
commit 68f705cac5

View File

@ -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',