mirror of
https://github.com/l1ving/youtube-dl
synced 2024-12-31 00:02:57 +08:00
[spike] Improve _VALID_URL
This commit is contained in:
parent
dee3f73787
commit
20b4492c71
@ -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)/.+|
|
(?:www\.spike\.com/(?:video-clips|(?:full-)?episodes)/.+|
|
||||||
m\.spike\.com/videos/video.rbml\?id=(?P<mobile_id>[^&]+))
|
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…
Reference in New Issue
Block a user