aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2015-01-30 21:54:48 +0600
committerSergey M․ <[email protected]>2015-01-30 21:54:48 +0600
commit20b4492c718a5c3cfb2aa493134b9ba8acb0f750 (patch)
tree6dd300b3c456e268735d388b9eeedf6d916b2630
parentdee3f73787226e3faaf409f8c355b5f8d5dc5632 (diff)
downloadyoutube-dl-20b4492c718a5c3cfb2aa493134b9ba8acb0f750.tar.gz
youtube-dl-20b4492c718a5c3cfb2aa493134b9ba8acb0f750.zip
[spike] Improve _VALID_URL
-rw-r--r--youtube_dl/extractor/spike.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/spike.py
index abba66aee..1af2e9725 100644
--- 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',