[letv] LetvCloud: make title looks like a title

pull/8/head
Yen Chi Hsuan 9 years ago
parent 73e7442456
commit 0428106da3

@ -253,21 +253,21 @@ class LetvCloudIE(InfoExtractor):
'info_dict': { 'info_dict': {
'id': 'p7jnfw5hw9_467623dedf', 'id': 'p7jnfw5hw9_467623dedf',
'ext': 'mp4', 'ext': 'mp4',
'title': 'p7jnfw5hw9_467623dedf', 'title': 'Video p7jnfw5hw9_467623dedf',
}, },
}, { }, {
'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=ec93197892&pu=2c7cd40209&auto_play=1&gpcflag=1&width=640&height=360', 'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=ec93197892&pu=2c7cd40209&auto_play=1&gpcflag=1&width=640&height=360',
'info_dict': { 'info_dict': {
'id': 'p7jnfw5hw9_ec93197892', 'id': 'p7jnfw5hw9_ec93197892',
'ext': 'mp4', 'ext': 'mp4',
'title': 'p7jnfw5hw9_ec93197892', 'title': 'Video p7jnfw5hw9_ec93197892',
}, },
}, { }, {
'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=187060b6fd', 'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=187060b6fd',
'info_dict': { 'info_dict': {
'id': 'p7jnfw5hw9_187060b6fd', 'id': 'p7jnfw5hw9_187060b6fd',
'ext': 'mp4', 'ext': 'mp4',
'title': 'p7jnfw5hw9_187060b6fd', 'title': 'Video p7jnfw5hw9_187060b6fd',
}, },
}] }]
@ -310,6 +310,6 @@ class LetvCloudIE(InfoExtractor):
return { return {
'id': media_id, 'id': media_id,
'title': media_id, 'title': 'Video %s' % media_id,
'formats': formats, 'formats': formats,
} }

Loading…
Cancel
Save