mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 02:07:07 -05:00 
			
		
		
		
	[24video] Add support for 24video.adult (closes #14295)
This commit is contained in:
		@@ -14,7 +14,7 @@ from ..utils import (
 | 
			
		||||
 | 
			
		||||
class TwentyFourVideoIE(InfoExtractor):
 | 
			
		||||
    IE_NAME = '24video'
 | 
			
		||||
    _VALID_URL = r'https?://(?P<host>(?:www\.)?24video\.(?:net|me|xxx|sex|tube))/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
 | 
			
		||||
    _VALID_URL = r'https?://(?P<host>(?:www\.)?24video\.(?:net|me|xxx|sex|tube|adult))/(?:video/(?:view|xml)/|player/new24_play\.swf\?id=)(?P<id>\d+)'
 | 
			
		||||
 | 
			
		||||
    _TESTS = [{
 | 
			
		||||
        'url': 'http://www.24video.net/video/view/1044982',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user