mirror of
https://gitlab.com/dstftw/youtube-dl.git
synced 2020-11-16 09:42:26 +00:00
[francetv] Fix wrong variable name
This commit is contained in:
parent
7e8d73c183
commit
4958ae2058
|
@ -21,7 +21,7 @@ class FranceTVBaseInfoExtractor(InfoExtractor):
|
||||||
manifest_url = info.find('videos/video/url').text
|
manifest_url = info.find('videos/video/url').text
|
||||||
manifest_url = manifest_url.replace('/z/', '/i/')
|
manifest_url = manifest_url.replace('/z/', '/i/')
|
||||||
|
|
||||||
if url.startswith('rtmp'):
|
if manifest_url.startswith('rtmp'):
|
||||||
formats = [{'url': manifest_url, 'ext': 'flv'}]
|
formats = [{'url': manifest_url, 'ext': 'flv'}]
|
||||||
else:
|
else:
|
||||||
formats = []
|
formats = []
|
||||||
|
|
Loading…
Reference in a new issue