aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-07-17 16:18:33 +0100
committerremitamine <remitamine@gmail.com>2015-07-17 16:18:33 +0100
commitcabe001590914338524dff0c1edffbde4a1447ab (patch)
tree90760ae2af8f4c3b719270a65252e4abd74fa7e0
parent255f5694aabe07fa7f33978c6b97ced469e172db (diff)
[howstuffwoks] fix _VALID_URL regex
-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 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<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',