logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 4ca5d43cd8c874da82be5754548d2419266cba19
parent 4bbf139aa75cace056989411003e4a1b6b2616e7
Author: Jaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>
Date:   Wed, 22 Jan 2014 02:39:17 -0800

Merge pull request #2195 from dstftw/master

[space] Add support for mobile URLs

Diffstat:

Myoutube_dl/extractor/space.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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',