[nowvideo] Add support for .sx version (Fixes #2127)
authorPhilipp Hagemeister <phihag@phihag.de>
Sun, 12 Jan 2014 00:22:56 +0000 (01:22 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Sun, 12 Jan 2014 00:26:37 +0000 (01:26 +0100)
youtube_dl/extractor/nowvideo.py

index 241cc160b9ca58bfc6b88bf9c12fe134df3b3d66..168ca8b9fa961f350fd3d3292bda648589be5197 100644 (file)
@@ -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',