0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-16 01:25:06 +00:00

[ie/drtv] Fix extractor (#11141)

Closes #11137
Authored by: 444995
This commit is contained in:
444995 2024-10-12 00:39:00 +02:00 committed by GitHub
parent ceaea731b6
commit f433871424
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,12 +139,11 @@ def _real_initialize(self):
return return
token_response = self._download_json( token_response = self._download_json(
'https://production.dr-massive.com/api/authorization/anonymous-sso', None, 'https://isl.dr-massive.com/api/authorization/anonymous-sso', None,
note='Downloading anonymous token', headers={ note='Downloading anonymous token', headers={
'content-type': 'application/json', 'content-type': 'application/json',
}, query={ }, query={
'device': 'web_browser', 'device': 'phone_android',
'ff': 'idp,ldp,rpt',
'lang': 'da', 'lang': 'da',
'supportFallbackToken': 'true', 'supportFallbackToken': 'true',
}, data=json.dumps({ }, data=json.dumps({