mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 18:47:06 -05:00 
			
		
		
		
	[youtube] set the 'name' parameter in the subtitles url (fixes #1577)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user