]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[extractor/generic] Add test for OnionStudios embeds
authorSergey M․ <dstftw@gmail.com>
Wed, 24 Jun 2015 17:23:16 +0000 (23:23 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 24 Jun 2015 17:23:16 +0000 (23:23 +0600)
youtube_dl/extractor/generic.py

index 9c5125f38037f8897a7bad8af16398e953fc7afe..42e4e70353f041323631aacf0a4389f18a92bdad 100644 (file)
@@ -837,6 +837,18 @@ class GenericIE(InfoExtractor):
                 'thumbnail': 're:^https?://.*\.jpe?g$',
             }
         },
+        # OnionStudios embed
+        {
+            'url': 'http://www.clickhole.com/video/dont-understand-bitcoin-man-will-mumble-explanatio-2537',
+            'info_dict': {
+                'id': '2855',
+                'ext': 'mp4',
+                'title': 'Don’t Understand Bitcoin? This Man Will Mumble An Explanation At You',
+                'thumbnail': 're:^https?://.*\.jpe?g$',
+                'uploader': 'ClickHole',
+                'uploader_id': 'clickhole',
+            }
+        },
         # AdobeTVVideo embed
         {
             'url': 'https://helpx.adobe.com/acrobat/how-to/new-experience-acrobat-dc.html?set=acrobat--get-started--essential-beginners',