]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[spike] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Fri, 30 Jan 2015 15:54:48 +0000 (21:54 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 30 Jan 2015 15:54:48 +0000 (21:54 +0600)
youtube_dl/extractor/spike.py

index abba66aee1e21ca2475e551b35a30e8ca420ab2b..1af2e972511d8900a8454375d779ecc8d637afc0 100644 (file)
@@ -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',