aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-07-17 16:43:27 +0100
committerremitamine <remitamine@gmail.com>2015-07-17 16:43:27 +0100
commitf354385bf50e04b0e7e1defcc14264d1a66e0a07 (patch)
tree15a297af34758e634fe35d206dbe87c2ecc7a8d0 /youtube_dl
parentcabe001590914338524dff0c1edffbde4a1447ab (diff)
downloadyoutube-dl-f354385bf50e04b0e7e1defcc14264d1a66e0a07.tar.xz
Add test for urls without a number
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/howstuffworks.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/youtube_dl/extractor/howstuffworks.py b/youtube_dl/extractor/howstuffworks.py
index f59393150..c9b6579a6 100644
--- a/youtube_dl/extractor/howstuffworks.py
+++ b/youtube_dl/extractor/howstuffworks.py
@@ -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):