Merge branch 'fix_print_info' of https://github.com/rosynirvana/you-get into rosynirvana-fix_print_info

This commit is contained in:
Mort Yao 2017-03-05 10:48:46 +01:00
commit 79fce81963
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -98,7 +98,7 @@ class VideoExtractor():
if 'quality' in stream:
print(" quality: %s" % stream['quality'])
if 'size' in stream:
if 'size' in stream and stream['container'].lower() != 'm3u8':
print(" size: %s MiB (%s bytes)" % (round(stream['size'] / 1048576, 1), stream['size']))
if 'itag' in stream: