mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[ie/youtube] Extract all formats from multi-language m3u8s (#9875)
Authored by: clienthax, bashonly Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
		| @@ -2222,6 +2222,11 @@ class InfoExtractor: | ||||
|                         'quality': quality, | ||||
|                         'has_drm': has_drm, | ||||
|                     } | ||||
| 
 | ||||
|                     # YouTube-specific | ||||
|                     if yt_audio_content_id := last_stream_inf.get('YT-EXT-AUDIO-CONTENT-ID'): | ||||
|                         f['language'] = yt_audio_content_id.split('.')[0] | ||||
| 
 | ||||
|                     resolution = last_stream_inf.get('RESOLUTION') | ||||
|                     if resolution: | ||||
|                         mobj = re.search(r'(?P<width>\d+)[xX](?P<height>\d+)', resolution) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Haxy
					Haxy