Skip to content

Commit

Permalink
[CR] Hotfix non-DRM
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeDL committed May 22, 2024
1 parent 38f849f commit dbc2c7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crunchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1214,12 +1214,12 @@ export default class Crunchy implements ServiceClass {
await this.refreshToken(true, true);
let currentVersion;
let isPrimary = mMeta.isSubbed;
const AuthHeaders = {
const AuthHeaders: RequestInit = {
headers: {
Authorization: `Bearer ${this.token.access_token}`,
'X-Cr-Disable-Drm': 'true'
},
useProxy: true
'X-Cr-Disable-Drm': 'true',
'User-Agent': 'Crunchyroll/1.8.0 Nintendo Switch/12.3.12.0 UE4/4.27'
}
};

//Get Media GUID
Expand Down

0 comments on commit dbc2c7d

Please sign in to comment.