aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-01-22 02:39:17 -0800
committerJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-01-22 02:39:17 -0800
commit4ca5d43cd8c874da82be5754548d2419266cba19 (patch)
tree93be6046e0518ff19d1ece9d9ea14af3677f2db5
parent4bbf139aa75cace056989411003e4a1b6b2616e7 (diff)
parent47739636a912d0704b3089326145851706d6cbc1 (diff)
Merge pull request #2195 from dstftw/master
[space] Add support for mobile URLs
-rw-r--r--youtube_dl/extractor/space.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/space.py b/youtube_dl/extractor/space.py
index 11455e0fa..4a3e52ad8 100644
--- a/youtube_dl/extractor/space.py
+++ b/youtube_dl/extractor/space.py
@@ -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',