mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:07:06 -05:00 
			
		
		
		
	[imdb] Fix the resolution values (fixes #1847)
We were using the size of the player, it was the same for all the formats
This commit is contained in:
		@@ -46,8 +46,7 @@ class ImdbIE(InfoExtractor):
 | 
			
		||||
            formats.append({
 | 
			
		||||
                'format_id': f_id,
 | 
			
		||||
                'url': format_info['url'],
 | 
			
		||||
                'height': format_info['height'],
 | 
			
		||||
                'width': format_info['width'],
 | 
			
		||||
                'height': int(info['titleObject']['encoding']['selected'][:-1]),
 | 
			
		||||
            })
 | 
			
		||||
 | 
			
		||||
        return {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user