mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[youtube] fix subtitle extraction(fixes #8415)
This commit is contained in:
		| @@ -918,7 +918,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | |||||||
|             if lang in sub_lang_list: |             if lang in sub_lang_list: | ||||||
|                 continue |                 continue | ||||||
|             sub_formats = [] |             sub_formats = [] | ||||||
|             for ext in ['sbv', 'vtt', 'srt']: |             for ext in ['vtt', 'ttml']: | ||||||
|                 params = compat_urllib_parse.urlencode({ |                 params = compat_urllib_parse.urlencode({ | ||||||
|                     'lang': lang, |                     'lang': lang, | ||||||
|                     'v': video_id, |                     'v': video_id, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 remitamine
					remitamine