From 51b4c173abedf226058fabbcee45e56d4d9310a0 Mon Sep 17 00:00:00 2001 From: stratumadev Date: Sun, 21 Dec 2025 20:20:55 +0100 Subject: [PATCH] chore(crunchy): update basic auth token and user-agent --- modules/module.api-urls.ts | 4 +-- package.json | 2 +- pnpm-lock.yaml | 52 +++++++++++++++++++------------------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/modules/module.api-urls.ts b/modules/module.api-urls.ts index c2cad32..fd99eee 100644 --- a/modules/module.api-urls.ts +++ b/modules/module.api-urls.ts @@ -53,7 +53,7 @@ const api: APIType = { bundlejs: 'https://static.crunchyroll.com/vilos-v2/web/vilos/js/bundle.js', // // Crunchyroll API - basic_auth_token: 'bmR0aTZicXlqcm9wNXZnZjF0dnU6elpIcS00SEJJVDlDb2FMcnBPREJjRVRCTUNHai1QNlg=', + basic_auth_token: 'b2g0cnYxbHpsOXR5ZzF4b2NqZ2o6cDI4bEhwM3J1ZVV0ek1aNDRhZmNyam84MUNmaFZGemg=', auth: `${domain.cr_api}/auth/v1/token`, me: `${domain.cr_api}/accounts/v1/me`, profile: `${domain.cr_api}/accounts/v1/me/profile`, @@ -71,7 +71,7 @@ const api: APIType = { cms_auth: `${domain.cr_api}/index/v2`, // // Crunchyroll Headers - crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.50.0_22282 (Android 12; en-US; SHIELD Android TV Build/SR1A.211012.001)', + crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.53.1_22290 (Android 12; en-US; SHIELD Android TV Build/SR1A.211012.001)', crunchyDefHeader: {}, crunchyAuthHeader: {}, crunchyAuthRefreshHeader: {}, diff --git a/package.json b/package.json index 1a8bac9..184abd3 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "@eslint/js": "^9.39.2", "@types/express": "^5.0.6", "@types/m3u8-parser": "^7.2.5", - "@types/node": "^24.10.4", + "@types/node": "^25.0.3", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^8.50.0", "@typescript-eslint/parser": "^8.50.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 62782e7..7a45d21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,7 +59,7 @@ importers: devDependencies: '@commitlint/cli': specifier: ^20.2.0 - version: 20.2.0(@types/node@24.10.4)(typescript@5.9.3) + version: 20.2.0(@types/node@25.0.3)(typescript@5.9.3) '@commitlint/config-conventional': specifier: ^20.2.0 version: 20.2.0 @@ -73,8 +73,8 @@ importers: specifier: ^7.2.5 version: 7.2.5 '@types/node': - specifier: ^24.10.4 - version: 24.10.4 + specifier: ^25.0.3 + version: 25.0.3 '@types/ws': specifier: ^8.18.1 version: 8.18.1 @@ -110,7 +110,7 @@ importers: version: 3.0.1 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@24.10.4)(typescript@5.9.3) + version: 10.9.2(@types/node@25.0.3)(typescript@5.9.3) typescript: specifier: ^5.9.3 version: 5.9.3 @@ -502,8 +502,8 @@ packages: '@types/m3u8-parser@7.2.5': resolution: {integrity: sha512-e4aoWGzTV+tQRGN1CfJhp1jt5yIHW0X0Lt2rjflDh/cTXYY9nDLRehX7S5iu+gyoaqVLDletBtPcDcPcQBKaeg==} - '@types/node@24.10.4': - resolution: {integrity: sha512-vnDVpYPMzs4wunl27jHrfmwojOGKya0xyM3sH+UE5iv5uPS6vX7UIoh6m+vQc5LGBq52HBKPIn/zcSZVzeDEZg==} + '@types/node@25.0.3': + resolution: {integrity: sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==} '@types/qs@6.14.0': resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==} @@ -1092,8 +1092,8 @@ packages: fs-constants@1.0.0: resolution: {integrity: sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==} - fs-extra@11.3.2: - resolution: {integrity: sha512-Xr9F6z6up6Ws+NjzMCZc6WXg2YFRlrLP9NQDO3VQrWrfiojdhS56TzueT88ze0uBdCTwEIhQ3ptnmKeWGFAe0A==} + fs-extra@11.3.3: + resolution: {integrity: sha512-VWSRii4t0AFm6ixFFmLLx1t7wS1gh+ckoa84aOeapGum0h+EZd1EhEumSB+ZdDLnEPuucsVB9oB7cxJHap6Afg==} engines: {node: '>=14.14'} fs-extra@8.1.0: @@ -2024,11 +2024,11 @@ snapshots: '@bufbuild/protobuf@2.10.2': {} - '@commitlint/cli@20.2.0(@types/node@24.10.4)(typescript@5.9.3)': + '@commitlint/cli@20.2.0(@types/node@25.0.3)(typescript@5.9.3)': dependencies: '@commitlint/format': 20.2.0 '@commitlint/lint': 20.2.0 - '@commitlint/load': 20.2.0(@types/node@24.10.4)(typescript@5.9.3) + '@commitlint/load': 20.2.0(@types/node@25.0.3)(typescript@5.9.3) '@commitlint/read': 20.2.0 '@commitlint/types': 20.2.0 tinyexec: 1.0.2 @@ -2075,7 +2075,7 @@ snapshots: '@commitlint/rules': 20.2.0 '@commitlint/types': 20.2.0 - '@commitlint/load@20.2.0(@types/node@24.10.4)(typescript@5.9.3)': + '@commitlint/load@20.2.0(@types/node@25.0.3)(typescript@5.9.3)': dependencies: '@commitlint/config-validator': 20.2.0 '@commitlint/execute-rule': 20.0.0 @@ -2083,7 +2083,7 @@ snapshots: '@commitlint/types': 20.2.0 chalk: 5.6.2 cosmiconfig: 9.0.0(typescript@5.9.3) - cosmiconfig-typescript-loader: 6.2.0(@types/node@24.10.4)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3) + cosmiconfig-typescript-loader: 6.2.0(@types/node@25.0.3)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -2313,21 +2313,21 @@ snapshots: '@types/body-parser@1.19.6': dependencies: '@types/connect': 3.4.38 - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/connect@3.4.38': dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/conventional-commits-parser@5.0.2': dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/estree@1.0.8': {} '@types/express-serve-static-core@5.1.0': dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/qs': 6.14.0 '@types/range-parser': 1.2.7 '@types/send': 1.2.1 @@ -2344,7 +2344,7 @@ snapshots: '@types/m3u8-parser@7.2.5': {} - '@types/node@24.10.4': + '@types/node@25.0.3': dependencies: undici-types: 7.16.0 @@ -2354,16 +2354,16 @@ snapshots: '@types/send@1.2.1': dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/serve-static@2.2.0': dependencies: '@types/http-errors': 2.0.5 - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@types/ws@8.18.1': dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 '@typescript-eslint/eslint-plugin@8.50.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.2(jiti@2.6.1))(typescript@5.9.3)': dependencies: @@ -2731,9 +2731,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@6.2.0(@types/node@24.10.4)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3): + cosmiconfig-typescript-loader@6.2.0(@types/node@25.0.3)(cosmiconfig@9.0.0(typescript@5.9.3))(typescript@5.9.3): dependencies: - '@types/node': 24.10.4 + '@types/node': 25.0.3 cosmiconfig: 9.0.0(typescript@5.9.3) jiti: 2.6.1 typescript: 5.9.3 @@ -3040,7 +3040,7 @@ snapshots: fs-constants@1.0.0: {} - fs-extra@11.3.2: + fs-extra@11.3.3: dependencies: graceful-fs: 4.2.11 jsonfile: 6.2.0 @@ -3759,14 +3759,14 @@ snapshots: dependencies: typescript: 5.9.3 - ts-node@10.9.2(@types/node@24.10.4)(typescript@5.9.3): + ts-node@10.9.2(@types/node@25.0.3)(typescript@5.9.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.12 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 24.10.4 + '@types/node': 25.0.3 acorn: 8.15.0 acorn-walk: 8.3.4 arg: 4.1.3 @@ -3820,7 +3820,7 @@ snapshots: dependencies: bluebird: 3.7.2 duplexer2: 0.1.4 - fs-extra: 11.3.2 + fs-extra: 11.3.3 graceful-fs: 4.2.11 node-int64: 0.4.0