projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b6be1
)
[tvigle] Extract format file sizes
author
Sergey M․
<dstftw@gmail.com>
Tue, 30 Sep 2014 13:00:21 +0000
(20:00 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 30 Sep 2014 13:00:21 +0000
(20:00 +0700)
youtube_dl/extractor/tvigle.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tvigle.py
b/youtube_dl/extractor/tvigle.py
index e81ade70799ba598d894f3e457cbb47dff825b18..27962b5fe146dd16e85f46e341725b4e30bf24e1 100644
(file)
--- a/
youtube_dl/extractor/tvigle.py
+++ b/
youtube_dl/extractor/tvigle.py
@@
-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)