Browse Source

[tumblr] Add a test with Instagram embed

Closes #8817
totalwebcasting
Yen Chi Hsuan 9 years ago
parent
commit
32d88410eb
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      youtube_dl/extractor/tumblr.py

+ 12
- 0
youtube_dl/extractor/tumblr.py 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):


Loading…
Cancel
Save