diff options
author | remitamine <[email protected]> | 2015-07-17 16:45:53 +0100 |
---|---|---|
committer | remitamine <[email protected]> | 2015-07-17 16:45:53 +0100 |
commit | 1186e3f91ab940017be263c65c27b821992e58cc (patch) | |
tree | bedef3e85f1b99d63197ac200164deed8457b14a | |
parent | f354385bf50e04b0e7e1defcc14264d1a66e0a07 (diff) | |
download | youtube-dl-1186e3f91ab940017be263c65c27b821992e58cc.tar.gz youtube-dl-1186e3f91ab940017be263c65c27b821992e58cc.zip |
do not capture a group
-rw-r--r-- | youtube_dl/extractor/howstuffworks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/howstuffworks.py b/youtube_dl/extractor/howstuffworks.py index c9b6579a6..cc931d571 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<id>.+?)-video\.htm' + _VALID_URL = r'https?://[\da-z-]+\.howstuffworks\.com/(?:[^/]+/)*(?:\d+-)?(?P<id>.+?)-video\.htm' _TESTS = [ { 'url': 'http://adventure.howstuffworks.com/5266-cool-jobs-iditarod-musher-video.htm', |