1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-21 01:12:53 +08:00

Merge pull request #2195 from dstftw/master

[space] Add support for mobile URLs
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-01-22 02:39:17 -08:00
commit 4ca5d43cd8

View File

@ -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',