aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-07-17 16:45:53 +0100
committerremitamine <remitamine@gmail.com>2015-07-17 16:45:53 +0100
commit1186e3f91ab940017be263c65c27b821992e58cc (patch)
treebedef3e85f1b99d63197ac200164deed8457b14a /youtube_dl/extractor
parentf354385bf50e04b0e7e1defcc14264d1a66e0a07 (diff)
do not capture a group
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/howstuffworks.py2
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',