Change Spike _VALID_URL to Paramount Network URL #15418

Downloads from Paramount Network(previously Spike) now function and no
longer raise 'Unsupported URL'.

Single episodes seem to be download in parts as described in #15418,
which may no be correct behaviour
This commit is contained in:
Ozzy Walsh 2018-01-25 09:29:22 +00:00
parent fa278f9426
commit a0f285fce1

View File

@ -6,10 +6,10 @@ from .mtv import MTVServicesInfoExtractor
class SpikeIE(MTVServicesInfoExtractor):
_VALID_URL = r'https?://(?:[^/]+\.)?spike\.com/[^/]+/[\da-z]{6}(?:[/?#&]|$)'
_VALID_URL = r'https?://(?:[^/]+\.)?paramountnetwork\.com/[^/]+/[\da-z]{6}(?:[/?#&]|$)'
_TESTS = [{
'url': 'http://www.paramountnetwork.com/video-clips/e1ktem/nobodies-gangbanged',
'md5': 'TODO: md5 sum of the first 10241 bytes of the video file (use --test)',
'md5': 'f53ab001b5c1c6fee01bc9f00e2859d1',
'info_dict': {
'id': 'e1ktem',
'ext': 'mp4',