aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-12 01:22:56 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-12 01:26:37 +0100
commit5d8683a5cd42ba8d222f2409064c01b2f71a1b99 (patch)
tree38c86d3065d53b57aae6b32390a40d9fb7ed8a30 /youtube_dl/extractor
parentcede88e5bbb0298ac3ca4309588666459feba8e6 (diff)
[nowvideo] Add support for .sx version (Fixes #2127)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/nowvideo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nowvideo.py b/youtube_dl/extractor/nowvideo.py
index 241cc160b..168ca8b9f 100644
--- 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',