[tumblr] Support Vine embeds (#8817)

This commit is contained in:
Yen Chi Hsuan 2016-03-23 23:55:52 +08:00
parent 088e1aac59
commit fc27ea9464

View file

@ -67,6 +67,22 @@ class TumblrIE(InfoExtractor):
'uploader_id': 'user32021558', 'uploader_id': 'user32021558',
}, },
'add_ie': ['Vimeo'], 'add_ie': ['Vimeo'],
}, {
'url': 'http://sutiblr.tumblr.com/post/139638707273',
'md5': '2dd184b3669e049ba40563a7d423f95c',
'info_dict': {
'id': 'ir7qBEIKqvq',
'ext': 'mp4',
'title': 'Vine by sutiblr',
'alt_title': 'Vine by sutiblr',
'uploader': 'sutiblr',
'uploader_id': '1198993975374495744',
'upload_date': '20160220',
'like_count': int,
'comment_count': int,
'repost_count': int,
},
'add_ie': ['Vine'],
}] }]
def _real_extract(self, url): def _real_extract(self, url):