diff --git a/youtube_dl/extractor/extractors.py b/youtube_dl/extractor/extractors.py index 57e74ba62..822b30265 100644 --- a/youtube_dl/extractor/extractors.py +++ b/youtube_dl/extractor/extractors.py @@ -985,7 +985,7 @@ from .spankbang import SpankBangIE from .spankwire import SpankwireIE from .spiegel import SpiegelIE, SpiegelArticleIE from .spiegeltv import SpiegeltvIE -from .spike import SpikeIE +from .paramountnetwork import ParamountNetworkIE from .stitcher import StitcherIE from .sport5 import Sport5IE from .sportbox import SportBoxEmbedIE diff --git a/youtube_dl/extractor/spike.py b/youtube_dl/extractor/paramountnetwork.py similarity index 93% rename from youtube_dl/extractor/spike.py rename to youtube_dl/extractor/paramountnetwork.py index affb8425d..e15dc099b 100644 --- a/youtube_dl/extractor/spike.py +++ b/youtube_dl/extractor/paramountnetwork.py @@ -5,7 +5,7 @@ import re from .mtv import MTVServicesInfoExtractor -class SpikeIE(MTVServicesInfoExtractor): +class ParamountNetworkIE(MTVServicesInfoExtractor): _VALID_URL = r'https?://(?:[^/]+\.)?paramountnetwork\.com/[^/]+/[\da-z]{6}(?:[/?#&]|$)' _TESTS = [{ 'url': 'http://www.paramountnetwork.com/video-clips/e1ktem/nobodies-gangbanged', @@ -34,7 +34,7 @@ class SpikeIE(MTVServicesInfoExtractor): _GEO_COUNTRIES = ['US'] def _extract_mgid(self, webpage): - mgid = super(SpikeIE, self)._extract_mgid(webpage) + mgid = super(ParamountNetworkIE, self)._extract_mgid(webpage) if mgid is None: url_parts = self._search_regex(self._CUSTOM_URL_REGEX, webpage, 'episode_id') video_type, episode_id = url_parts.split('/', 1)