diff options
author | Remita Amine <remitamine@gmail.com> | 2019-06-03 12:43:39 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2019-06-03 12:43:39 +0100 |
commit | 0c84002650cf21f38685a7446cd4cdb0f963a412 (patch) | |
tree | 70def8391f00b9ba2b37d57be3879c96f1b218ef /youtube_dl | |
parent | c5eb75b35a709baa134fb96e774a4b712cc65e93 (diff) |
[southpark] add support for videos with english audio track(closes #21271)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/southpark.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/youtube_dl/extractor/southpark.py b/youtube_dl/extractor/southpark.py index da75a43a7..5374c8423 100644 --- 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' |