Browse Source

[noco] Fix bitrates

master
Sergey M․ 9 years ago
parent
commit
9dc1d94a0c
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/extractor/noco.py

4
youtube_dl/extractor/noco.py

@ -177,8 +177,8 @@ class NocoIE(InfoExtractor):
'format_id': format_id_extended,
'width': int_or_none(fmt.get('res_width')),
'height': int_or_none(fmt.get('res_lines')),
'abr': int_or_none(fmt.get('audiobitrate')),
'vbr': int_or_none(fmt.get('videobitrate')),
'abr': int_or_none(fmt.get('audiobitrate'), 1000),
'vbr': int_or_none(fmt.get('videobitrate'), 1000),
'filesize': int_or_none(fmt.get('filesize')),
'format_note': qualities[format_id].get('quality_name'),
'quality': qualities[format_id].get('priority'),

Loading…
Cancel
Save