From: remitamine Date: Fri, 17 Jul 2015 15:18:33 +0000 (+0100) Subject: [howstuffwoks] fix _VALID_URL regex X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=cabe001590914338524dff0c1edffbde4a1447ab;p=youtube-dl [howstuffwoks] fix _VALID_URL regex --- diff --git a/youtube_dl/extractor/howstuffworks.py b/youtube_dl/extractor/howstuffworks.py index e97339121..f59393150 100644 --- a/youtube_dl/extractor/howstuffworks.py +++ b/youtube_dl/extractor/howstuffworks.py @@ -10,7 +10,7 @@ from ..utils import ( class HowStuffWorksIE(InfoExtractor): - _VALID_URL = r'https?://[\da-z-]+\.howstuffworks\.com/(?:[^/]+/)*\d+-(?P.+?)-video\.htm' + _VALID_URL = r'https?://[\da-z-]+\.howstuffworks\.com/(?:[^/]+/)*(\d+-)*(?P.+?)-video\.htm' _TESTS = [ { 'url': 'http://adventure.howstuffworks.com/5266-cool-jobs-iditarod-musher-video.htm',