Browse Source

[spike] Improve _VALID_URL

totalwebcasting
Sergey M․ 10 years ago
parent
commit
20b4492c71
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/spike.py

+ 2
- 2
youtube_dl/extractor/spike.py View File

@ -7,8 +7,8 @@ from .mtv import MTVServicesInfoExtractor
class SpikeIE(MTVServicesInfoExtractor): class SpikeIE(MTVServicesInfoExtractor):
_VALID_URL = r'''(?x)https?:// _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 = { _TEST = {
'url': 'http://www.spike.com/video-clips/lhtu8m/auction-hunters-can-allen-ride-a-hundred-year-old-motorcycle', 'url': 'http://www.spike.com/video-clips/lhtu8m/auction-hunters-can-allen-ride-a-hundred-year-old-motorcycle',


Loading…
Cancel
Save