1
mirror of https://github.com/yt-dlp/yt-dlp synced 2024-11-27 05:13:39 +01: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 @@ class DRTVIE(InfoExtractor):
return
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={
'content-type': 'application/json',
}, query={
'device': 'web_browser',
'ff': 'idp,ldp,rpt',
'device': 'phone_android',
'lang': 'da',
'supportFallbackToken': 'true',
}, data=json.dumps({