]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[tumblr] Add a test with Instagram embed
authorYen Chi Hsuan <yan12125@gmail.com>
Thu, 24 Mar 2016 08:32:53 +0000 (16:32 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Thu, 24 Mar 2016 08:32:53 +0000 (16:32 +0800)
Closes #8817

youtube_dl/extractor/tumblr.py

index 5847169869d921ddda877f7ae906a28f69a46e60..e5bcf7798d69f55e8725fee2dc7ada9c7bf6ef85 100644 (file)
@@ -83,6 +83,18 @@ class TumblrIE(InfoExtractor):
             'repost_count': int,
         },
         '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):