projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d3f778
)
[vesti] Fix width and height
author
Sergey M․
<dstftw@gmail.com>
Tue, 4 Mar 2014 14:40:35 +0000
(21:40 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 4 Mar 2014 14:40:35 +0000
(21:40 +0700)
youtube_dl/extractor/vesti.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vesti.py
b/youtube_dl/extractor/vesti.py
index f51d4dcfa6c0cbda5fb8c53d0421ac099cea8295..4172821290d8ca14ca04f30400e48b37df6a243b 100644
(file)
--- a/
youtube_dl/extractor/vesti.py
+++ b/
youtube_dl/extractor/vesti.py
@@
-113,8
+113,8
@@
class VestiIE(InfoExtractor):
priority_transport = playlist['priority_transport']
thumbnail = media['picture']
- width =
media['width']
- height =
media['height']
+ width =
int_or_none(media['width'])
+ height =
int_or_none(media['height'])
description = media['anons']
title = media['title']
duration = int_or_none(media.get('duration'))