projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
255f569
)
[howstuffwoks] fix _VALID_URL regex
author
remitamine
<remitamine@gmail.com>
Fri, 17 Jul 2015 15:18:33 +0000
(16:18 +0100)
committer
remitamine
<remitamine@gmail.com>
Fri, 17 Jul 2015 15:18:33 +0000
(16:18 +0100)
youtube_dl/extractor/howstuffworks.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/howstuffworks.py
b/youtube_dl/extractor/howstuffworks.py
index e9733912132798d99be18bb935dcd3c3b190525d..f59393150898a463cca1d044333f351ca2c11b7d 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',