aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-03-04 13:38:45 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-03-04 13:38:45 +0800
commit8a370aedace161f97b7bff572275f3e8dd59da2e (patch)
tree4a85d8eb409157256dfc4ebb271f179f544a0db4
parent24ca0e9c0b217c99a852682d9aa1357cd380eb06 (diff)
[leeco] format_id should be strings
-rw-r--r--youtube_dl/extractor/leeco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/leeco.py b/youtube_dl/extractor/leeco.py
index d0cd3f591..9c2bce036 100644
--- 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')),