mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[extractor/common] Improve jwplayer subtitles extraction (closes #15695)
This commit is contained in:
		| @@ -2353,7 +2353,10 @@ class InfoExtractor(object): | ||||
|                 for track in tracks: | ||||
|                     if not isinstance(track, dict): | ||||
|                         continue | ||||
|                     if track.get('kind') != 'captions': | ||||
|                     track_kind = track.get('kind') | ||||
|                     if not track_kind or not isinstance(track_kind, compat_str): | ||||
|                         continue | ||||
|                     if track_kind.lower() not in ('captions', 'subtitles'): | ||||
|                         continue | ||||
|                     track_url = urljoin(base_url, track.get('file')) | ||||
|                     if not track_url: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․