Changelog: changed
This commit is contained in:
Kai 2025-08-11 16:45:03 -04:00
commit 1507c70729
No known key found for this signature in database

View file

@ -467,14 +467,20 @@ class AudioUrlWidevineSource extends AudioUrlSource {
this.getLicenseRequestExecutor = () => {
return {
executeRequest: (url, _headers, _method, license_request_data) => {
return http.POST(
const response = http.POST(
url,
license_request_data,
{ Authorization: `Bearer ${obj.bearerToken}` },
false,
true
).body
}
);
if (!response.body) {
throw new ScriptException("Unable to acquire license key");
}
return response.body;
}
}
}
}