projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
407ae73
)
[space] Add support for mobile URLs
author
dst
<dstftw@gmail.com>
Wed, 22 Jan 2014 10:25:32 +0000
(17:25 +0700)
committer
dst
<dstftw@gmail.com>
Wed, 22 Jan 2014 10:25:32 +0000
(17:25 +0700)
youtube_dl/extractor/space.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/space.py
b/youtube_dl/extractor/space.py
index 11455e0fa212f3ab6ec2b9cb258f2824346a2862..4a3e52ad8c02d0c7ccf653d761fbf95c63ed7bc8 100644
(file)
--- 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',