projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f354385
)
do not capture a group
author
remitamine
<remitamine@gmail.com>
Fri, 17 Jul 2015 15:45:53 +0000
(16:45 +0100)
committer
remitamine
<remitamine@gmail.com>
Fri, 17 Jul 2015 15:45:53 +0000
(16:45 +0100)
youtube_dl/extractor/howstuffworks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/howstuffworks.py
b/youtube_dl/extractor/howstuffworks.py
index c9b6579a643138d8a6f95d2bea0d7bc8b9e5b4a7..cc931d571134b71628bce177e13e164494abb8b3 100644
(file)
--- 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',