diff options
author | remitamine <[email protected]> | 2015-07-17 16:18:33 +0100 |
---|---|---|
committer | remitamine <[email protected]> | 2015-07-17 16:18:33 +0100 |
commit | cabe001590914338524dff0c1edffbde4a1447ab (patch) | |
tree | 90760ae2af8f4c3b719270a65252e4abd74fa7e0 /youtube_dl/extractor/howstuffworks.py | |
parent | 255f5694aabe07fa7f33978c6b97ced469e172db (diff) | |
download | youtube-dl-cabe001590914338524dff0c1edffbde4a1447ab.tar.gz youtube-dl-cabe001590914338524dff0c1edffbde4a1447ab.zip |
[howstuffwoks] fix _VALID_URL regex
Diffstat (limited to 'youtube_dl/extractor/howstuffworks.py')
-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 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', |