[CR] Whoops
Forgot the other 3 login places
This commit is contained in:
parent
64783a0529
commit
ab090a6858
2 changed files with 9 additions and 3 deletions
10
crunchy.ts
10
crunchy.ts
|
|
@ -256,6 +256,8 @@ export default class Crunchy implements ServiceClass {
|
|||
const authData = new URLSearchParams({
|
||||
'grant_type': 'client_id',
|
||||
'scope': 'offline_access',
|
||||
'device_id': randomUUID(),
|
||||
'device_type': 'Chrome on Windows'
|
||||
}).toString();
|
||||
const authReqOpts: reqModule.Params = {
|
||||
method: 'POST',
|
||||
|
|
@ -306,7 +308,9 @@ export default class Crunchy implements ServiceClass {
|
|||
'refresh_token': this.token.refresh_token,
|
||||
'grant_type': 'refresh_token',
|
||||
//'grant_type': 'etp_rt_cookie',
|
||||
'scope': 'offline_access'
|
||||
'scope': 'offline_access',
|
||||
'device_id': randomUUID(),
|
||||
'device_type': 'Chrome on Windows'
|
||||
}).toString();
|
||||
const authReqOpts: reqModule.Params = {
|
||||
method: 'POST',
|
||||
|
|
@ -344,7 +348,9 @@ export default class Crunchy implements ServiceClass {
|
|||
'refresh_token': this.token.refresh_token,
|
||||
'grant_type': 'refresh_token',
|
||||
//'grant_type': 'etp_rt_cookie',
|
||||
'scope': 'offline_access'
|
||||
'scope': 'offline_access',
|
||||
'device_id': randomUUID(),
|
||||
'device_type': 'Chrome on Windows'
|
||||
}).toString();
|
||||
const authReqOpts: reqModule.Params = {
|
||||
method: 'POST',
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "multi-downloader-nx",
|
||||
"short_name": "aniDL",
|
||||
"version": "5.1.1",
|
||||
"version": "5.1.2",
|
||||
"description": "Downloader for Crunchyroll, Hidive, AnimeOnegai, and AnimationDigitalNetwork with CLI and GUI",
|
||||
"keywords": [
|
||||
"download",
|
||||
|
|
|
|||
Loading…
Reference in a new issue