1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-28 12:56:52 +01:00

[nowvideo] Recognize nowvideo.sx urls (fixes #2127)

This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-12 12:42:06 +01:00
parent cede88e5bb
commit d2250ea7fd

View File

@ -5,7 +5,7 @@ from ..utils import compat_urlparse
class NowVideoIE(InfoExtractor): 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 = { _TEST = {
u'url': u'http://www.nowvideo.ch/video/0mw0yow7b6dxa', u'url': u'http://www.nowvideo.ch/video/0mw0yow7b6dxa',
u'file': u'0mw0yow7b6dxa.flv', u'file': u'0mw0yow7b6dxa.flv',