mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 08:27:07 -05:00 
			
		
		
		
	[nowvideo] Add support for .sx version (Fixes #2127)
This commit is contained in:
		@@ -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',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user