[southpark_de] Clean-up coding style
This commit is contained in:
parent
5e2839725f
commit
67d578b076
|
@ -142,7 +142,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
||||||
mediagen_url += 'hls' if use_hls else 'fms'
|
mediagen_url += 'hls' if use_hls else 'fms'
|
||||||
if (self._LANG):
|
if (self._LANG):
|
||||||
mediagen_url += '&' if '?' in mediagen_url else '?'
|
mediagen_url += '&' if '?' in mediagen_url else '?'
|
||||||
mediagen_url += 'lang='+ self._LANG
|
mediagen_url += 'lang=' + self._LANG
|
||||||
|
|
||||||
mediagen_doc = self._download_xml(
|
mediagen_doc = self._download_xml(
|
||||||
mediagen_url, video_id, 'Downloading video urls', fatal=False)
|
mediagen_url, video_id, 'Downloading video urls', fatal=False)
|
||||||
|
|
|
@ -85,10 +85,11 @@ class SouthParkDeIE(MTVServicesInfoExtractor):
|
||||||
'arcEp': 'shared.southpark.gsa.de',
|
'arcEp': 'shared.southpark.gsa.de',
|
||||||
'ep': '50c78199',
|
'ep': '50c78199',
|
||||||
'imageEp': 'shared.southpark.gsa.de',
|
'imageEp': 'shared.southpark.gsa.de',
|
||||||
'clusterName' : 'EMEAA',
|
'clusterName': 'EMEAA',
|
||||||
'mgid': uri,
|
'mgid': uri,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class SouthParkDeEnIE(SouthParkIE):
|
class SouthParkDeEnIE(SouthParkIE):
|
||||||
IE_NAME = 'southpark.de:en'
|
IE_NAME = 'southpark.de:en'
|
||||||
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.de/en/(?:video-clips|episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.de/en/(?:video-clips|episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
||||||
|
@ -120,10 +121,11 @@ class SouthParkDeEnIE(SouthParkIE):
|
||||||
'arcEp': 'shared.southpark.gsa.en',
|
'arcEp': 'shared.southpark.gsa.en',
|
||||||
'ep': '20476225',
|
'ep': '20476225',
|
||||||
'imageEp': 'shared.southpark.gsa.en',
|
'imageEp': 'shared.southpark.gsa.en',
|
||||||
'clusterName' : 'EMEAA',
|
'clusterName': 'EMEAA',
|
||||||
'mgid': uri,
|
'mgid': uri,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class SouthParkNlIE(SouthParkIE):
|
class SouthParkNlIE(SouthParkIE):
|
||||||
IE_NAME = 'southpark.nl'
|
IE_NAME = 'southpark.nl'
|
||||||
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.nl/(?:clips|(?:full-)?episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
_VALID_URL = r'https?://(?:www\.)?(?P<url>southpark\.nl/(?:clips|(?:full-)?episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
||||||
|
|
Loading…
Reference in New Issue