mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:57:07 -05:00 
			
		
		
		
	[itv] fix subtitle extraction
This commit is contained in:
		@@ -177,7 +177,7 @@ class ITVIE(InfoExtractor):
 | 
			
		||||
                continue
 | 
			
		||||
            ext = determine_ext(caption_url.text, 'ttml')
 | 
			
		||||
            subtitles.setdefault('en', []).append({
 | 
			
		||||
                'url': caption_url,
 | 
			
		||||
                'url': caption_url.text,
 | 
			
		||||
                'ext': 'ttml' if ext == 'xml' else ext,
 | 
			
		||||
            })
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user