projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cede88e
)
[nowvideo] Add support for .sx version (Fixes #2127)
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 12 Jan 2014 00:22:56 +0000
(
01:22
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 12 Jan 2014 00:26:37 +0000
(
01:26
+0100)
youtube_dl/extractor/nowvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nowvideo.py
b/youtube_dl/extractor/nowvideo.py
index 241cc160b9ca58bfc6b88bf9c12fe134df3b3d66..168ca8b9fa961f350fd3d3292bda648589be5197 100644
(file)
--- a/
youtube_dl/extractor/nowvideo.py
+++ b/
youtube_dl/extractor/nowvideo.py
@@
-5,7
+5,7
@@
from ..utils import compat_urlparse
class NowVideoIE(InfoExtractor):
- _VALID_URL = r'(?:https?://)?(?:www\.)?nowvideo\.
ch
/video/(?P<id>\w+)'
+ _VALID_URL = r'(?:https?://)?(?:www\.)?nowvideo\.
(?:ch|sx)
/video/(?P<id>\w+)'
_TEST = {
u'url': u'http://www.nowvideo.ch/video/0mw0yow7b6dxa',
u'file': u'0mw0yow7b6dxa.flv',