0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-22 06:00:00 +00:00

[youtube] set the 'name' parameter in the subtitles url (fixes #1577)

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-10-09 16:41:36 +02:00
parent 88bd97e34c
commit a34c2faae4

View file

@ -1116,6 +1116,7 @@ def _get_available_subtitles(self, video_id):
'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