1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-30 04:08:01 +01:00

[tvigle] Extract format file sizes

This commit is contained in:
Sergey M․ 2014-09-30 20:00:21 +07:00
parent a3b6be104d
commit e497a7f2ca

View File

@ -71,6 +71,7 @@ class TvigleIE(InfoExtractor):
'format_id': '%s-%s' % (vcodec, quality), 'format_id': '%s-%s' % (vcodec, quality),
'vcodec': vcodec, 'vcodec': vcodec,
'height': int(quality[:-1]), 'height': int(quality[:-1]),
'filesize': item['video_files_size'][vcodec][quality],
}) })
self._sort_formats(formats) self._sort_formats(formats)