projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5eb75b
)
[southpark] add support for videos with english audio track(closes #21271)
author
Remita Amine
<remitamine@gmail.com>
Mon, 3 Jun 2019 11:43:39 +0000
(12:43 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Mon, 3 Jun 2019 11:43:39 +0000
(12:43 +0100)
youtube_dl/extractor/southpark.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/southpark.py
b/youtube_dl/extractor/southpark.py
index da75a43a730334e70f5725a1a41357810cf704de..5374c842386a3b0995e6d609a2ead93995a468dd 100644
(file)
--- 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'