]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Add test for urls without a number
authorremitamine <remitamine@gmail.com>
Fri, 17 Jul 2015 15:43:27 +0000 (16:43 +0100)
committerremitamine <remitamine@gmail.com>
Fri, 17 Jul 2015 15:43:27 +0000 (16:43 +0100)
youtube_dl/extractor/howstuffworks.py

index f59393150898a463cca1d044333f351ca2c11b7d..c9b6579a643138d8a6f95d2bea0d7bc8b9e5b4a7 100644 (file)
@@ -46,6 +46,17 @@ class HowStuffWorksIE(InfoExtractor):
                 'thumbnail': 're:^https?://.*\.jpg$',
             },
         },
+        {
+            'url': 'http://shows.howstuffworks.com/stuff-to-blow-your-mind/optical-illusions-video.htm',
+            'info_dict': {
+                'id': '855410',
+                'ext': 'mp4',
+                'title': 'Stuff to Blow Your Mind',
+                'description': 'When it comes to optical illusions it’s pretty easy to jailbreak the operating system of your mind and load a new program onto it. Find out why your visual system willingly makes errors in interpretation.',
+                'display_id': 'optical-illusions',
+                'thumbnail': 're:^https?://.*\.jpg$',
+            },
+        }
     ]
 
     def _real_extract(self, url):