1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 01:02:48 +01:00

[francetv] Fix wrong variable name

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-07-28 15:21:05 +02:00
parent 7e8d73c183
commit 4958ae2058

View File

@ -21,7 +21,7 @@ def _extract_video(self, video_id):
manifest_url = info.find('videos/video/url').text
manifest_url = manifest_url.replace('/z/', '/i/')
if url.startswith('rtmp'):
if manifest_url.startswith('rtmp'):
formats = [{'url': manifest_url, 'ext': 'flv'}]
else:
formats = []