]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/space.py
Imported Upstream version 2014.02.17
[youtubedl] / youtube_dl / extractor / space.py
index 11455e0fa212f3ab6ec2b9cb258f2824346a2862..4a3e52ad8c02d0c7ccf653d761fbf95c63ed7bc8 100644 (file)
@@ -6,7 +6,7 @@ from ..utils import RegexNotFoundError, ExtractorError
 
 
 class SpaceIE(InfoExtractor):
 
 
 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',
     _TEST = {
         u'add_ie': ['Brightcove'],
         u'url': u'http://www.space.com/23373-huge-martian-landforms-detail-revealed-by-european-probe-video.html',