mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 00:37:06 -05:00 
			
		
		
		
	[charlierose] Add support for episodes (closes #14062)
This commit is contained in:
		@@ -5,7 +5,7 @@ from ..utils import remove_end
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class CharlieRoseIE(InfoExtractor):
 | 
					class CharlieRoseIE(InfoExtractor):
 | 
				
			||||||
    _VALID_URL = r'https?://(?:www\.)?charlierose\.com/video(?:s|/player)/(?P<id>\d+)'
 | 
					    _VALID_URL = r'https?://(?:www\.)?charlierose\.com/(?:video|episode)(?:s|/player)/(?P<id>\d+)'
 | 
				
			||||||
    _TESTS = [{
 | 
					    _TESTS = [{
 | 
				
			||||||
        'url': 'https://charlierose.com/videos/27996',
 | 
					        'url': 'https://charlierose.com/videos/27996',
 | 
				
			||||||
        'md5': 'fda41d49e67d4ce7c2411fd2c4702e09',
 | 
					        'md5': 'fda41d49e67d4ce7c2411fd2c4702e09',
 | 
				
			||||||
@@ -24,6 +24,9 @@ class CharlieRoseIE(InfoExtractor):
 | 
				
			|||||||
    }, {
 | 
					    }, {
 | 
				
			||||||
        'url': 'https://charlierose.com/videos/27996',
 | 
					        'url': 'https://charlierose.com/videos/27996',
 | 
				
			||||||
        'only_matching': True,
 | 
					        'only_matching': True,
 | 
				
			||||||
 | 
					    }, {
 | 
				
			||||||
 | 
					        'url': 'https://charlierose.com/episodes/30887?autoplay=true',
 | 
				
			||||||
 | 
					        'only_matching': True,
 | 
				
			||||||
    }]
 | 
					    }]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _PLAYER_BASE = 'https://charlierose.com/video/player/%s'
 | 
					    _PLAYER_BASE = 'https://charlierose.com/video/player/%s'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user