projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24ca0e9
)
[leeco] format_id should be strings
author
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 4 Mar 2016 05:38:45 +0000
(13:38 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Fri, 4 Mar 2016 05:38:45 +0000
(13:38 +0800)
youtube_dl/extractor/leeco.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/leeco.py
b/youtube_dl/extractor/leeco.py
index d0cd3f5919350117a1babe44df1e1ea6ff4bb3c5..9c2bce03668b30576cba7593db491d189bf5171f 100644
(file)
--- a/
youtube_dl/extractor/leeco.py
+++ b/
youtube_dl/extractor/leeco.py
@@
-338,7
+338,7
@@
class LetvCloudIE(InfoExtractor):
formats.append({
'url': url,
'ext': determine_ext(decoded_url),
- 'format_id':
int
_or_none(play_url.get('vtype')),
+ 'format_id':
str
_or_none(play_url.get('vtype')),
'format_note': str_or_none(play_url.get('definition')),
'width': int_or_none(play_url.get('vwidth')),
'height': int_or_none(play_url.get('vheight')),