mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 01:07:07 -05:00 
			
		
		
		
	[extractor/common] Allow float bitrates
This commit is contained in:
		@@ -1084,7 +1084,7 @@ class InfoExtractor(object):
 | 
			
		||||
            if not src:
 | 
			
		||||
                continue
 | 
			
		||||
 | 
			
		||||
            bitrate = int_or_none(video.get('system-bitrate') or video.get('systemBitrate'), 1000)
 | 
			
		||||
            bitrate = float_or_none(video.get('system-bitrate') or video.get('systemBitrate'), 1000)
 | 
			
		||||
            filesize = int_or_none(video.get('size') or video.get('fileSize'))
 | 
			
		||||
            width = int_or_none(video.get('width'))
 | 
			
		||||
            height = int_or_none(video.get('height'))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user