diff options
author | dst <dstftw@gmail.com> | 2014-01-22 17:25:32 +0700 |
---|---|---|
committer | dst <dstftw@gmail.com> | 2014-01-22 17:25:32 +0700 |
commit | 47739636a912d0704b3089326145851706d6cbc1 (patch) | |
tree | 25146faf88ea1d7ffc2c9057049f2427846eb199 | |
parent | 407ae733ab24dbe4fdbd5b996aef6438f16834a2 (diff) |
[space] Add support for mobile URLs
-rw-r--r-- | youtube_dl/extractor/space.py | 2 |
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', |