Update yt_dlp/extractor/playsuisse.py

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
This commit is contained in:
v3DJG6GL 2025-05-09 02:41:14 +02:00 committed by GitHub
parent 71922f7a81
commit 37522a2ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,7 +238,8 @@ class PlaySuisseIE(InfoExtractor):
'query': self._GRAPHQL_QUERY,
'variables': {'assetId': media_id},
}).encode(),
headers={'Content-Type': 'application/json', 'locale': locale})
headers={'Content-Type': 'application/json', 'locale': locale or 'de'})
return response['data']['assetV2']
def _real_extract(self, url):