mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 19:00:24 -05:00
[tnaflix] Make sure config URL has correct scheme
This commit is contained in:
parent
079d1dcd80
commit
68f705cac5
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ def _real_extract(self, url):
|
||||||
if duration:
|
if duration:
|
||||||
duration = parse_duration(duration[1:])
|
duration = parse_duration(duration[1:])
|
||||||
|
|
||||||
cfg_url = self._html_search_regex(
|
cfg_url = self._proto_relative_url(self._html_search_regex(
|
||||||
self._CONFIG_REGEX, webpage, 'flashvars.config')
|
self._CONFIG_REGEX, webpage, 'flashvars.config'), 'http:')
|
||||||
|
|
||||||
cfg_xml = self._download_xml(
|
cfg_xml = self._download_xml(
|
||||||
cfg_url, display_id, note='Downloading metadata',
|
cfg_url, display_id, note='Downloading metadata',
|
||||||
|
|
Loading…
Reference in a new issue