mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
[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'
|
||||
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)
|
||||
|
@ -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\.)?(?P<url>southpark\.de/en/(?:video-clips|episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
||||
@ -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\.)?(?P<url>southpark\.nl/(?:clips|(?:full-)?episodes|collections)/(?P<id>.+?)(\?|#|$))'
|
||||
|
Loading…
Reference in New Issue
Block a user