aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/noco.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-17 22:18:28 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-17 22:18:28 +0600
commit9dc1d94a0ccf39c4dab686cbd5941d75208248fb (patch)
treefbb94d5e54e2376242d4a3e1fc34937f212d7fec /youtube_dl/extractor/noco.py
parent7824e1f6a61e97c3c79c21db65de33a6380e29c3 (diff)
[noco] Fix bitrates
Diffstat (limited to 'youtube_dl/extractor/noco.py')
-rw-r--r--youtube_dl/extractor/noco.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/noco.py b/youtube_dl/extractor/noco.py
index daba2e12f..d440313d5 100644
--- a/youtube_dl/extractor/noco.py
+++ b/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'),