Browse Source

[tvigle] Extract format file sizes

master
Sergey M․ 10 years ago
parent
commit
e497a7f2ca
1 changed files with 1 additions and 0 deletions
  1. 1
      youtube_dl/extractor/tvigle.py

1
youtube_dl/extractor/tvigle.py

@ -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)

Loading…
Cancel
Save