mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
added crunchyroll bypass possibility check and updated packages
This commit is contained in:
parent
d418bf67a8
commit
f94efd38c5
3 changed files with 62 additions and 56 deletions
|
|
@ -1651,7 +1651,13 @@ export default class Crunchy implements ServiceClass {
|
|||
|
||||
let videoStream: CrunchyPlayStream | null = null;
|
||||
let audioStream: CrunchyPlayStream | null = null;
|
||||
const isDLBypass: boolean = options.astream === 'android' || options.astream === 'androidtab' ? true : false;
|
||||
let isDLBypass: boolean = options.astream === 'android' || options.astream === 'androidtab' ? true : false;
|
||||
|
||||
if (isDLBypass && !(this.token.scope as string)?.includes('offline_access')) {
|
||||
isDLBypass = false;
|
||||
options.astream = 'androidtv';
|
||||
console.warn('192 kb/s audio downloads are not available on your current Crunchyroll plan. Please upgrade to the "Mega Fan" plan to enable this feature. Falling back to 128 kb/s CBR stream.');
|
||||
}
|
||||
|
||||
if (options.tsd) {
|
||||
console.warn('Total Session Death Active');
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
"yargs": "^17.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.34.0",
|
||||
"@eslint/js": "^9.35.0",
|
||||
"@types/bn.js": "^5.2.0",
|
||||
"@types/cors": "^2.8.19",
|
||||
"@types/elliptic": "^6.4.18",
|
||||
|
|
@ -84,7 +84,7 @@
|
|||
"@types/yargs": "^17.0.33",
|
||||
"@typescript-eslint/eslint-plugin": "^8.42.0",
|
||||
"@typescript-eslint/parser": "^8.42.0",
|
||||
"eslint": "^9.34.0",
|
||||
"eslint": "^9.35.0",
|
||||
"protoc": "^1.1.3",
|
||||
"removeNPMAbsolutePaths": "^3.0.1",
|
||||
"ts-node": "^10.9.2",
|
||||
|
|
|
|||
106
pnpm-lock.yaml
106
pnpm-lock.yaml
|
|
@ -97,8 +97,8 @@ importers:
|
|||
version: 17.7.2
|
||||
devDependencies:
|
||||
'@eslint/js':
|
||||
specifier: ^9.34.0
|
||||
version: 9.34.0
|
||||
specifier: ^9.35.0
|
||||
version: 9.35.0
|
||||
'@types/bn.js':
|
||||
specifier: ^5.2.0
|
||||
version: 5.2.0
|
||||
|
|
@ -131,13 +131,13 @@ importers:
|
|||
version: 17.0.33
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^8.42.0
|
||||
version: 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.9.2))(eslint@9.34.0)(typescript@5.9.2)
|
||||
version: 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.35.0)(typescript@5.9.2))(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/parser':
|
||||
specifier: ^8.42.0
|
||||
version: 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
version: 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
eslint:
|
||||
specifier: ^9.34.0
|
||||
version: 9.34.0
|
||||
specifier: ^9.35.0
|
||||
version: 9.35.0
|
||||
protoc:
|
||||
specifier: ^1.1.3
|
||||
version: 1.1.3
|
||||
|
|
@ -152,7 +152,7 @@ importers:
|
|||
version: 5.9.2
|
||||
typescript-eslint:
|
||||
specifier: ^8.42.0
|
||||
version: 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
version: 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
|
||||
packages:
|
||||
|
||||
|
|
@ -168,17 +168,17 @@ packages:
|
|||
resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/parser@7.28.3':
|
||||
resolution: {integrity: sha512-7+Ey1mAgYqFAx2h0RuoxcQT5+MlG3GTV0TQrgr7/ZliKsm/MNDxVVutlWaziMq7wJNAz8MTqz55XLpWvva6StA==}
|
||||
'@babel/parser@7.28.4':
|
||||
resolution: {integrity: sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg==}
|
||||
engines: {node: '>=6.0.0'}
|
||||
hasBin: true
|
||||
|
||||
'@babel/runtime@7.28.3':
|
||||
resolution: {integrity: sha512-9uIQ10o0WGdpP6GDhXcdOJPJuDgFtIDtN/9+ArJQ2NAfAmiuhTQdzkaTGR33v43GYS2UrSA0eX2pPPHoFVvpxA==}
|
||||
'@babel/runtime@7.28.4':
|
||||
resolution: {integrity: sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@babel/types@7.28.2':
|
||||
resolution: {integrity: sha512-ruv7Ae4J5dUYULmeXw1gmb7rYRz57OWCPM57pHojnLq/3Z1CK2lNSLTCVjxVk1F/TZHwOZZrOWi0ur95BbLxNQ==}
|
||||
'@babel/types@7.28.4':
|
||||
resolution: {integrity: sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@bufbuild/buf-darwin-arm64@1.57.0':
|
||||
|
|
@ -430,8 +430,8 @@ packages:
|
|||
resolution: {integrity: sha512-gtF186CXhIl1p4pJNGZw8Yc6RlshoePRvE0X91oPGb3vZ8pM3qOS9W9NGPat9LziaBV7XrJWGylNQXkGcnM3IQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/js@9.34.0':
|
||||
resolution: {integrity: sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==}
|
||||
'@eslint/js@9.35.0':
|
||||
resolution: {integrity: sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
'@eslint/object-schema@2.1.6':
|
||||
|
|
@ -1101,8 +1101,8 @@ packages:
|
|||
resolution: {integrity: sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
|
||||
eslint@9.34.0:
|
||||
resolution: {integrity: sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==}
|
||||
eslint@9.35.0:
|
||||
resolution: {integrity: sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==}
|
||||
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
|
@ -2249,8 +2249,8 @@ snapshots:
|
|||
|
||||
'@babel/generator@7.28.3':
|
||||
dependencies:
|
||||
'@babel/parser': 7.28.3
|
||||
'@babel/types': 7.28.2
|
||||
'@babel/parser': 7.28.4
|
||||
'@babel/types': 7.28.4
|
||||
'@jridgewell/gen-mapping': 0.3.13
|
||||
'@jridgewell/trace-mapping': 0.3.30
|
||||
jsesc: 3.1.0
|
||||
|
|
@ -2259,13 +2259,13 @@ snapshots:
|
|||
|
||||
'@babel/helper-validator-identifier@7.27.1': {}
|
||||
|
||||
'@babel/parser@7.28.3':
|
||||
'@babel/parser@7.28.4':
|
||||
dependencies:
|
||||
'@babel/types': 7.28.2
|
||||
'@babel/types': 7.28.4
|
||||
|
||||
'@babel/runtime@7.28.3': {}
|
||||
'@babel/runtime@7.28.4': {}
|
||||
|
||||
'@babel/types@7.28.2':
|
||||
'@babel/types@7.28.4':
|
||||
dependencies:
|
||||
'@babel/helper-string-parser': 7.27.1
|
||||
'@babel/helper-validator-identifier': 7.27.1
|
||||
|
|
@ -2401,9 +2401,9 @@ snapshots:
|
|||
'@esbuild/win32-x64@0.25.9':
|
||||
optional: true
|
||||
|
||||
'@eslint-community/eslint-utils@4.8.0(eslint@9.34.0)':
|
||||
'@eslint-community/eslint-utils@4.8.0(eslint@9.35.0)':
|
||||
dependencies:
|
||||
eslint: 9.34.0
|
||||
eslint: 9.35.0
|
||||
eslint-visitor-keys: 3.4.3
|
||||
|
||||
'@eslint-community/regexpp@4.12.1': {}
|
||||
|
|
@ -2436,7 +2436,7 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@eslint/js@9.34.0': {}
|
||||
'@eslint/js@9.35.0': {}
|
||||
|
||||
'@eslint/object-schema@2.1.6': {}
|
||||
|
||||
|
|
@ -2637,15 +2637,15 @@ snapshots:
|
|||
'@types/node': 24.3.1
|
||||
optional: true
|
||||
|
||||
'@typescript-eslint/eslint-plugin@8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.9.2))(eslint@9.34.0)(typescript@5.9.2)':
|
||||
'@typescript-eslint/eslint-plugin@8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.35.0)(typescript@5.9.2))(eslint@9.35.0)(typescript@5.9.2)':
|
||||
dependencies:
|
||||
'@eslint-community/regexpp': 4.12.1
|
||||
'@typescript-eslint/parser': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/parser': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/scope-manager': 8.42.0
|
||||
'@typescript-eslint/type-utils': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/type-utils': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/visitor-keys': 8.42.0
|
||||
eslint: 9.34.0
|
||||
eslint: 9.35.0
|
||||
graphemer: 1.4.0
|
||||
ignore: 7.0.5
|
||||
natural-compare: 1.4.0
|
||||
|
|
@ -2654,14 +2654,14 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.9.2)':
|
||||
'@typescript-eslint/parser@8.42.0(eslint@9.35.0)(typescript@5.9.2)':
|
||||
dependencies:
|
||||
'@typescript-eslint/scope-manager': 8.42.0
|
||||
'@typescript-eslint/types': 8.42.0
|
||||
'@typescript-eslint/typescript-estree': 8.42.0(typescript@5.9.2)
|
||||
'@typescript-eslint/visitor-keys': 8.42.0
|
||||
debug: 4.4.1
|
||||
eslint: 9.34.0
|
||||
eslint: 9.35.0
|
||||
typescript: 5.9.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
|
@ -2684,13 +2684,13 @@ snapshots:
|
|||
dependencies:
|
||||
typescript: 5.9.2
|
||||
|
||||
'@typescript-eslint/type-utils@8.42.0(eslint@9.34.0)(typescript@5.9.2)':
|
||||
'@typescript-eslint/type-utils@8.42.0(eslint@9.35.0)(typescript@5.9.2)':
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 8.42.0
|
||||
'@typescript-eslint/typescript-estree': 8.42.0(typescript@5.9.2)
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
debug: 4.4.1
|
||||
eslint: 9.34.0
|
||||
eslint: 9.35.0
|
||||
ts-api-utils: 2.1.0(typescript@5.9.2)
|
||||
typescript: 5.9.2
|
||||
transitivePeerDependencies:
|
||||
|
|
@ -2714,13 +2714,13 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
||||
'@typescript-eslint/utils@8.42.0(eslint@9.34.0)(typescript@5.9.2)':
|
||||
'@typescript-eslint/utils@8.42.0(eslint@9.35.0)(typescript@5.9.2)':
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0)
|
||||
'@eslint-community/eslint-utils': 4.8.0(eslint@9.35.0)
|
||||
'@typescript-eslint/scope-manager': 8.42.0
|
||||
'@typescript-eslint/types': 8.42.0
|
||||
'@typescript-eslint/typescript-estree': 8.42.0(typescript@5.9.2)
|
||||
eslint: 9.34.0
|
||||
eslint: 9.35.0
|
||||
typescript: 5.9.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
|
@ -2739,13 +2739,13 @@ snapshots:
|
|||
|
||||
'@videojs/vhs-utils@4.0.0':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.3
|
||||
'@babel/runtime': 7.28.4
|
||||
global: 4.4.0
|
||||
url-toolkit: 2.2.5
|
||||
|
||||
'@videojs/vhs-utils@4.1.1':
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.3
|
||||
'@babel/runtime': 7.28.4
|
||||
global: 4.4.0
|
||||
|
||||
'@xmldom/xmldom@0.8.11': {}
|
||||
|
|
@ -2766,8 +2766,8 @@ snapshots:
|
|||
'@yao-pkg/pkg@6.6.0':
|
||||
dependencies:
|
||||
'@babel/generator': 7.28.3
|
||||
'@babel/parser': 7.28.3
|
||||
'@babel/types': 7.28.2
|
||||
'@babel/parser': 7.28.4
|
||||
'@babel/types': 7.28.4
|
||||
'@yao-pkg/pkg-fetch': 3.5.24
|
||||
into-stream: 6.0.0
|
||||
minimist: 1.2.8
|
||||
|
|
@ -3169,15 +3169,15 @@ snapshots:
|
|||
|
||||
eslint-visitor-keys@4.2.1: {}
|
||||
|
||||
eslint@9.34.0:
|
||||
eslint@9.35.0:
|
||||
dependencies:
|
||||
'@eslint-community/eslint-utils': 4.8.0(eslint@9.34.0)
|
||||
'@eslint-community/eslint-utils': 4.8.0(eslint@9.35.0)
|
||||
'@eslint-community/regexpp': 4.12.1
|
||||
'@eslint/config-array': 0.21.0
|
||||
'@eslint/config-helpers': 0.3.1
|
||||
'@eslint/core': 0.15.2
|
||||
'@eslint/eslintrc': 3.3.1
|
||||
'@eslint/js': 9.34.0
|
||||
'@eslint/js': 9.35.0
|
||||
'@eslint/plugin-kit': 0.3.5
|
||||
'@humanfs/node': 0.16.7
|
||||
'@humanwhocodes/module-importer': 1.0.1
|
||||
|
|
@ -3646,7 +3646,7 @@ snapshots:
|
|||
|
||||
m3u8-parser@7.2.0:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.3
|
||||
'@babel/runtime': 7.28.4
|
||||
'@videojs/vhs-utils': 4.1.1
|
||||
global: 4.4.0
|
||||
|
||||
|
|
@ -3711,7 +3711,7 @@ snapshots:
|
|||
|
||||
mpd-parser@1.3.1:
|
||||
dependencies:
|
||||
'@babel/runtime': 7.28.3
|
||||
'@babel/runtime': 7.28.4
|
||||
'@videojs/vhs-utils': 4.0.0
|
||||
'@xmldom/xmldom': 0.8.11
|
||||
global: 4.4.0
|
||||
|
|
@ -4295,13 +4295,13 @@ snapshots:
|
|||
|
||||
typed-query-selector@2.12.0: {}
|
||||
|
||||
typescript-eslint@8.42.0(eslint@9.34.0)(typescript@5.9.2):
|
||||
typescript-eslint@8.42.0(eslint@9.35.0)(typescript@5.9.2):
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin': 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.34.0)(typescript@5.9.2))(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/parser': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/eslint-plugin': 8.42.0(@typescript-eslint/parser@8.42.0(eslint@9.35.0)(typescript@5.9.2))(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/parser': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
'@typescript-eslint/typescript-estree': 8.42.0(typescript@5.9.2)
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.34.0)(typescript@5.9.2)
|
||||
eslint: 9.34.0
|
||||
'@typescript-eslint/utils': 8.42.0(eslint@9.35.0)(typescript@5.9.2)
|
||||
eslint: 9.35.0
|
||||
typescript: 5.9.2
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
|
|
|
|||
Loading…
Reference in a new issue