aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/southpark.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/southpark.py')
-rw-r--r--youtube_dl/extractor/southpark.py4
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'