From: Jaime Marquínez Ferrándiz Date: Wed, 9 Oct 2013 14:41:36 +0000 (+0200) Subject: [youtube] set the 'name' parameter in the subtitles url (fixes #1577) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=a34c2faae4315f8c5ea6ef8ea2cc6dc063cb0149;p=youtube-dl [youtube] set the 'name' parameter in the subtitles url (fixes #1577) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 35310b39f..a7c514513 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -1116,6 +1116,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): 'lang': lang, 'v': video_id, 'fmt': self._downloader.params.get('subtitlesformat'), + 'name': l[0], }) url = u'http://www.youtube.com/api/timedtext?' + params sub_lang_list[lang] = url