mirror of
https://github.com/soimort/you-get.git
synced 2025-01-24 05:55:02 +03:00
do not print size when the container is m3u8
This commit is contained in:
parent
1497d713a0
commit
9b9d80b32d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user