[tvigle] Extract format file sizes
authorSergey M․ <dstftw@gmail.com>
Tue, 30 Sep 2014 13:00:21 +0000 (20:00 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 30 Sep 2014 13:00:21 +0000 (20:00 +0700)
youtube_dl/extractor/tvigle.py

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