Browse Source

[extractor/common] Allow float bitrates

totalwebcasting
Sergey M․ 9 years ago
parent
commit
e7d8e98a9f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/common.py

+ 1
- 1
youtube_dl/extractor/common.py View File

@ -1084,7 +1084,7 @@ class InfoExtractor(object):
if not src: if not src:
continue 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')) filesize = int_or_none(video.get('size') or video.get('fileSize'))
width = int_or_none(video.get('width')) width = int_or_none(video.get('width'))
height = int_or_none(video.get('height')) height = int_or_none(video.get('height'))


Loading…
Cancel
Save