[nowvideo] Recognize nowvideo.sx urls (fixes #2127)
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 12 Jan 2014 11:42:06 +0000 (12:42 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 12 Jan 2014 11:42:06 +0000 (12:42 +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',