diff --git a/youtube_dl/extractor/mtv.py b/youtube_dl/extractor/mtv.py index 93c9dc5ac..06290e49a 100644 --- a/youtube_dl/extractor/mtv.py +++ b/youtube_dl/extractor/mtv.py @@ -142,7 +142,7 @@ class MTVServicesInfoExtractor(InfoExtractor): mediagen_url += 'hls' if use_hls else 'fms' if (self._LANG): mediagen_url += '&' if '?' in mediagen_url else '?' - mediagen_url += 'lang='+ self._LANG + mediagen_url += 'lang=' + self._LANG mediagen_doc = self._download_xml( mediagen_url, video_id, 'Downloading video urls', fatal=False) diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py index 20fe634ee..2d86588d7 100644 --- a/youtube_dl/extractor/southpark.py +++ b/youtube_dl/extractor/southpark.py @@ -85,10 +85,11 @@ class SouthParkDeIE(MTVServicesInfoExtractor): 'arcEp': 'shared.southpark.gsa.de', 'ep': '50c78199', 'imageEp': 'shared.southpark.gsa.de', - 'clusterName' : 'EMEAA', + 'clusterName': 'EMEAA', 'mgid': uri, } + class SouthParkDeEnIE(SouthParkIE): IE_NAME = 'southpark.de:en' _VALID_URL = r'https?://(?:www\.)?(?Psouthpark\.de/en/(?:video-clips|episodes|collections)/(?P.+?)(\?|#|$))' @@ -120,10 +121,11 @@ class SouthParkDeEnIE(SouthParkIE): 'arcEp': 'shared.southpark.gsa.en', 'ep': '20476225', 'imageEp': 'shared.southpark.gsa.en', - 'clusterName' : 'EMEAA', + 'clusterName': 'EMEAA', 'mgid': uri, } + class SouthParkNlIE(SouthParkIE): IE_NAME = 'southpark.nl' _VALID_URL = r'https?://(?:www\.)?(?Psouthpark\.nl/(?:clips|(?:full-)?episodes|collections)/(?P.+?)(\?|#|$))'