mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-04 02:01:41 +03:00
Update yt_dlp/extractor/playsuisse.py
Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
@@ -230,7 +230,7 @@ class PlaySuisseIE(InfoExtractor):
|
|||||||
if not self._ID_TOKEN:
|
if not self._ID_TOKEN:
|
||||||
raise ExtractorError('Login failed')
|
raise ExtractorError('Login failed')
|
||||||
|
|
||||||
def _get_media_data(self, media_id, locale):
|
def _get_media_data(self, media_id, locale=None):
|
||||||
response = self._download_json(
|
response = self._download_json(
|
||||||
'https://www.playsuisse.ch/api/graphql',
|
'https://www.playsuisse.ch/api/graphql',
|
||||||
media_id, data=json.dumps({
|
media_id, data=json.dumps({
|
||||||
|
|||||||
Reference in New Issue
Block a user