kopia lustrzana https://github.com/yt-dlp/yt-dlp
[youtube] set the 'name' parameter in the subtitles url (fixes #1577)
rodzic
88bd97e34c
commit
a34c2faae4
|
@ -1116,6 +1116,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
||||||
'lang': lang,
|
'lang': lang,
|
||||||
'v': video_id,
|
'v': video_id,
|
||||||
'fmt': self._downloader.params.get('subtitlesformat'),
|
'fmt': self._downloader.params.get('subtitlesformat'),
|
||||||
|
'name': l[0],
|
||||||
})
|
})
|
||||||
url = u'http://www.youtube.com/api/timedtext?' + params
|
url = u'http://www.youtube.com/api/timedtext?' + params
|
||||||
sub_lang_list[lang] = url
|
sub_lang_list[lang] = url
|
||||||
|
|
Ładowanie…
Reference in New Issue