mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 03:47:07 -05:00 
			
		
		
		
	[space] Add support for mobile URLs
This commit is contained in:
		@@ -6,7 +6,7 @@ from ..utils import RegexNotFoundError, ExtractorError
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class SpaceIE(InfoExtractor):
 | 
			
		||||
    _VALID_URL = r'https?://www\.space\.com/\d+-(?P<title>[^/\.\?]*?)-video\.html'
 | 
			
		||||
    _VALID_URL = r'https?://(?:(?:www|m)\.)?space\.com/\d+-(?P<title>[^/\.\?]*?)-video\.html'
 | 
			
		||||
    _TEST = {
 | 
			
		||||
        u'add_ie': ['Brightcove'],
 | 
			
		||||
        u'url': u'http://www.space.com/23373-huge-martian-landforms-detail-revealed-by-european-probe-video.html',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user