fix(main): updated packages and crunchy UA + Basic token

This commit is contained in:
stratumadev 2026-02-08 21:11:30 +01:00
parent 056dff7e57
commit 7a8de40f5b
6 changed files with 1605 additions and 1397 deletions

View file

@ -3570,4 +3570,3 @@ export default class Crunchy implements ServiceClass {
return episodeList; return episodeList;
} }
} }

View file

@ -5,35 +5,35 @@
"dependencies": { "dependencies": {
"@emotion/react": "^11.14.0", "@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1", "@emotion/styled": "^11.14.1",
"@mui/icons-material": "^7.3.5", "@mui/icons-material": "^7.3.7",
"@mui/lab": "7.0.0-beta.12", "@mui/lab": "7.0.0-beta.12",
"@mui/material": "^7.3.5", "@mui/material": "^7.3.7",
"notistack": "^3.0.2", "notistack": "^3.0.2",
"react": "^19.2.0", "react": "^19.2.4",
"react-dom": "^19.2.0", "react-dom": "^19.2.4",
"uuid": "^11.1.0", "uuid": "^11.1.0",
"ws": "^8.18.3" "ws": "^8.19.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.28.3", "@babel/cli": "^7.28.6",
"@babel/core": "^7.28.5", "@babel/core": "^7.29.0",
"@babel/preset-env": "^7.28.5", "@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5", "@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5", "@babel/preset-typescript": "^7.28.5",
"@types/node": "^24.10.1", "@types/node": "^24.10.12",
"@types/react": "^19.2.7", "@types/react": "^19.2.13",
"@types/react-dom": "^19.2.3", "@types/react-dom": "^19.2.3",
"@types/uuid": "^10.0.0", "@types/uuid": "^10.0.0",
"babel-loader": "^10.0.0", "babel-loader": "^10.0.0",
"concurrently": "^9.2.1", "concurrently": "^9.2.1",
"css-loader": "^7.1.2", "css-loader": "^7.1.3",
"html-webpack-plugin": "^5.6.5", "html-webpack-plugin": "^5.6.6",
"style-loader": "^4.0.0", "style-loader": "^4.0.0",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"webpack": "^5.103.0", "webpack": "^5.105.0",
"webpack-cli": "^6.0.1", "webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2" "webpack-dev-server": "^5.2.3"
}, },
"proxy": "http://localhost:3000", "proxy": "http://localhost:3000",
"scripts": { "scripts": {

File diff suppressed because it is too large Load diff

View file

@ -53,7 +53,7 @@ const api: APIType = {
bundlejs: 'https://static.crunchyroll.com/vilos-v2/web/vilos/js/bundle.js', bundlejs: 'https://static.crunchyroll.com/vilos-v2/web/vilos/js/bundle.js',
// //
// Crunchyroll API // Crunchyroll API
basic_auth_token: 'b2g0cnYxbHpsOXR5ZzF4b2NqZ2o6cDI4bEhwM3J1ZVV0ek1aNDRhZmNyam84MUNmaFZGemg=', basic_auth_token: 'ZWE5Y21xbHRscXl6eWFuMXZkeTQ6LV9ZQ3BBRDVnc3hDaU9IWnpSTGdJQ1I4Z09XWGlsUVI=',
auth: `${domain.cr_api}/auth/v1/token`, auth: `${domain.cr_api}/auth/v1/token`,
me: `${domain.cr_api}/accounts/v1/me`, me: `${domain.cr_api}/accounts/v1/me`,
profile: `${domain.cr_api}/accounts/v1/me/profile`, profile: `${domain.cr_api}/accounts/v1/me/profile`,
@ -71,7 +71,7 @@ const api: APIType = {
cms_auth: `${domain.cr_api}/index/v2`, cms_auth: `${domain.cr_api}/index/v2`,
// //
// Crunchyroll Headers // Crunchyroll Headers
crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.53.1_22290 (Android 12; en-US; SHIELD Android TV Build/SR1A.211012.001)', crunchyDefUserAgent: 'Crunchyroll/ANDROIDTV/3.54.5_22304 (Android 12; en-US; SHIELD Android TV Build/SR1A.211012.001)',
crunchyDefHeader: {}, crunchyDefHeader: {},
crunchyAuthHeader: {}, crunchyAuthHeader: {},
crunchyAuthRefreshHeader: {}, crunchyAuthRefreshHeader: {},

View file

@ -40,44 +40,44 @@
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@bufbuild/protobuf": "^2.10.2", "@bufbuild/protobuf": "^2.11.0",
"commander": "^14.0.2", "commander": "^14.0.3",
"express": "^5.2.1", "express": "^5.2.1",
"iso-639": "^0.2.2", "iso-639": "^0.2.2",
"leven": "^4.1.0", "leven": "^4.1.0",
"log4js": "^6.9.1", "log4js": "^6.9.1",
"lookpath": "^1.2.3", "lookpath": "^1.2.3",
"m3u8-parser": "^7.2.0", "m3u8-parser": "^7.2.0",
"mediainfo.js": "^0.3.6", "mediainfo.js": "^0.3.7",
"mpd-parser": "^1.3.1", "mpd-parser": "^1.3.1",
"node-playready": "^1.1.1", "node-playready": "^1.1.2",
"open": "^11.0.0", "open": "^11.0.0",
"undici": "^7.16.0", "undici": "^7.21.0",
"widevine": "^1.0.3", "widevine": "^1.0.3",
"ws": "^8.18.3", "ws": "^8.19.0",
"yaml": "^2.8.2" "yaml": "^2.8.2"
}, },
"devDependencies": { "devDependencies": {
"@commitlint/cli": "^20.2.0", "@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^20.2.0", "@commitlint/config-conventional": "^20.4.1",
"@eslint/js": "^9.39.2", "@eslint/js": "^9.39.2",
"@types/express": "^5.0.6", "@types/express": "^5.0.6",
"@types/m3u8-parser": "^7.2.5", "@types/m3u8-parser": "^7.2.6",
"@types/node": "^25.0.3", "@types/node": "^25.2.2",
"@types/ws": "^8.18.1", "@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.50.0", "@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.50.0", "@typescript-eslint/parser": "^8.54.0",
"@yao-pkg/pkg": "^6.11.0", "@yao-pkg/pkg": "^6.12.0",
"esbuild": "0.26.0", "esbuild": "0.26.0",
"eslint": "^9.39.2", "eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8", "eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7", "husky": "^9.1.7",
"jiti": "^2.6.1", "jiti": "^2.6.1",
"prettier": "^3.7.4", "prettier": "^3.8.1",
"removeNPMAbsolutePaths": "^3.0.1", "removeNPMAbsolutePaths": "^3.0.1",
"ts-node": "^10.9.2", "ts-node": "^10.9.2",
"typescript": "^5.9.3", "typescript": "^5.9.3",
"typescript-eslint": "^8.50.0" "typescript-eslint": "^8.54.0"
}, },
"scripts": { "scripts": {
"prestart": "pnpm run tsc test", "prestart": "pnpm run tsc test",

File diff suppressed because it is too large Load diff