|
|
@ -92,10 +92,12 @@ class VineIE(InfoExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
username = data.get('username')
|
|
|
|
username = data.get('username')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
alt_title = 'Vine by %s' % username if username else None
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
'id': video_id,
|
|
|
|
'id': video_id,
|
|
|
|
'title': data.get('description'),
|
|
|
|
'title': data.get('description') or alt_title or 'Vine video',
|
|
|
|
'alt_title': 'Vine by %s' % username if username else None,
|
|
|
|
'alt_title': alt_title,
|
|
|
|
'thumbnail': data.get('thumbnailUrl'),
|
|
|
|
'thumbnail': data.get('thumbnailUrl'),
|
|
|
|
'timestamp': unified_timestamp(data.get('created')),
|
|
|
|
'timestamp': unified_timestamp(data.get('created')),
|
|
|
|
'uploader': username,
|
|
|
|
'uploader': username,
|
|
|
|