[CR] Hotfix: Fixes non DRM downloads

This commit is contained in:
AnimeDL 2024-03-14 19:14:50 -07:00
parent 6575e2343d
commit 4742ea8d55
2 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,9 @@ export default class Crunchy implements ServiceClass {
private token: Record<string, any>;
private req: reqModule.Req;
private cmsToken: {
cms?: Record<string, string>
cms?: Record<string, string>,
cms_beta?: Record<string, string>,
cms_web?: Record<string, string>
} = {};
constructor(private debug = false) {
@ -1297,8 +1299,6 @@ export default class Crunchy implements ServiceClass {
'?',
new URLSearchParams({
'preferred_audio_language': 'ja-JP',
streams: 'all',
textType: 'all',
'Policy': this.cmsToken.cms.policy,
'Signature': this.cmsToken.cms.signature,
'Key-Pair-Id': this.cmsToken.cms.key_pair_id,

View file

@ -276,7 +276,7 @@ const args: TAppArg<boolean|number|string|unknown[]>[] = [
describe: 'Select specific stream',
choices: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
default: {
default: 2
default: 4
},
docDescribe: true,
service: ['crunchy'],