[tumblr] Add a test with Instagram embed

Closes #8817
This commit is contained in:
Yen Chi Hsuan 2016-03-24 16:32:53 +08:00
parent 5a51775a58
commit 32d88410eb

View File

@ -83,6 +83,18 @@ class TumblrIE(InfoExtractor):
'repost_count': int, 'repost_count': int,
}, },
'add_ie': ['Vine'], 'add_ie': ['Vine'],
}, {
'url': 'http://vitasidorkina.tumblr.com/post/134652425014/joskriver-victoriassecret-invisibility-or',
'md5': '01c12ceb82cbf6b2fe0703aa56b3ad72',
'info_dict': {
'id': '-7LnUPGlSo',
'ext': 'mp4',
'title': 'Video by victoriassecret',
'description': 'Invisibility or flight…which superpower would YOU choose? #VSFashionShow #ThisOrThat',
'uploader_id': 'victoriassecret',
'thumbnail': 're:^https?://.*\.jpg'
},
'add_ie': ['Instagram'],
}] }]
def _real_extract(self, url): def _real_extract(self, url):