Browse Source

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

master
Remita Amine 6 years ago
parent
commit
0c84002650
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      youtube_dl/extractor/southpark.py

+ 4
- 0
youtube_dl/extractor/southpark.py 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'


Loading…
Cancel
Save