[letv] LetvCloud: make title looks like a title

This commit is contained in:
Yen Chi Hsuan 2016-01-20 03:53:17 +08:00
parent 73e7442456
commit 0428106da3

View File

@ -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 @@ def _real_extract(self, url):
return { return {
'id': media_id, 'id': media_id,
'title': media_id, 'title': 'Video %s' % media_id,
'formats': formats, 'formats': formats,
} }