mirror of https://github.com/yt-dlp/yt-dlp.git
[nowvideo] Add support for .sx version (Fixes #2127)
This commit is contained in:
parent
cede88e5bb
commit
5d8683a5cd
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue