1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[southpark] add support for videos with english audio track(closes #21271)

This commit is contained in:
Remita Amine 2019-06-03 12:43:39 +01:00
parent c5eb75b35a
commit 0c84002650

View file

@ -78,6 +78,10 @@ class SouthParkDeIE(SouthParkIE):
'only_matching': True, 'only_matching': True,
}] }]
def _real_initialize(self):
lang = self._get_cookies('http://www.southpark.de/alle-episoden/').get('SPS_video_language')
self._LANG = lang.value if lang else 'de'
class SouthParkNlIE(SouthParkIE): class SouthParkNlIE(SouthParkIE):
IE_NAME = 'southpark.nl' IE_NAME = 'southpark.nl'