Browse Source

[iwara] Add width (closes #11724)

The heuristic is from #11724
master-ytdl-org
Yen Chi Hsuan 8 years ago
parent
commit
2ab2c0d1f5
No known key found for this signature in database GPG Key ID: 7F902A182457CA23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      youtube_dl/extractor/iwara.py

+ 1
- 0
youtube_dl/extractor/iwara.py View File

@ -81,6 +81,7 @@ class IwaraIE(InfoExtractor):
'format_id': format_id,
'ext': mimetype2ext(a_format.get('mime')) or 'mp4',
'height': height,
'width': int_or_none(height / 9.0 * 16.0 if height else None),
'quality': 1 if format_id == 'Source' else 0,
})


Loading…
Cancel
Save