logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 0c84002650cf21f38685a7446cd4cdb0f963a412
parent c5eb75b35a709baa134fb96e774a4b712cc65e93
Author: Remita Amine <remitamine@gmail.com>
Date:   Mon,  3 Jun 2019 12:43:39 +0100

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

Diffstat:

Myoutube_dl/extractor/southpark.py4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py @@ -78,6 +78,10 @@ class SouthParkDeIE(SouthParkIE): '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): IE_NAME = 'southpark.nl'