projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dee3f73
)
[spike] Improve _VALID_URL
author
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jan 2015 15:54:48 +0000
(21:54 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 30 Jan 2015 15:54:48 +0000
(21:54 +0600)
youtube_dl/extractor/spike.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spike.py
b/youtube_dl/extractor/spike.py
index abba66aee1e21ca2475e551b35a30e8ca420ab2b..1af2e972511d8900a8454375d779ecc8d637afc0 100644
(file)
--- a/
youtube_dl/extractor/spike.py
+++ b/
youtube_dl/extractor/spike.py
@@
-7,8
+7,8
@@
from .mtv import MTVServicesInfoExtractor
class SpikeIE(MTVServicesInfoExtractor):
_VALID_URL = r'''(?x)https?://
- (
www\.spike\.com/(video-clips|
episodes)/.+|
- m\.spike\.com/videos/video
.rbml\?id=(?P<mobile_
id>[^&]+))
+ (
?:www\.spike\.com/(?:video-clips|(?:full-)?
episodes)/.+|
+ m\.spike\.com/videos/video
\.rbml\?id=(?P<
id>[^&]+))
'''
_TEST = {
'url': 'http://www.spike.com/video-clips/lhtu8m/auction-hunters-can-allen-ride-a-hundred-year-old-motorcycle',