mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-16 01:44:24 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4264727c33 | ||
|
|
c6ec34ca8b | ||
|
|
3297dce797 | ||
|
|
ae1e4c97d7 | ||
|
|
f5d2233d68 | ||
|
|
196a1cad1d | ||
|
|
00408ad8e8 | ||
|
|
4e5a0d1561 | ||
|
|
cbdde54471 | ||
|
|
777eb4ee2b | ||
|
|
b2c672dfa6 | ||
|
|
828f4fa1d5 | ||
|
|
8275aff35e | ||
|
|
1d8596b8c9 | ||
|
|
8658934ebe | ||
|
|
96e77102e3 | ||
|
|
673c276c9a | ||
|
|
ed80f46a45 | ||
|
|
e8468cafe9 | ||
|
|
50d84b208c | ||
|
|
3ed2207eaa | ||
|
|
980278acb9 | ||
|
|
485d330af2 | ||
|
|
50f77e0e7a | ||
|
|
00ba683170 | ||
|
|
d979333e13 | ||
|
|
1908ba60f5 | ||
|
|
45ab0a6085 | ||
|
|
17e9adf3b2 | ||
|
|
99d07dc063 | ||
|
|
c7a72f06a2 | ||
|
|
2ac5d94eb8 | ||
|
|
f2db789e75 | ||
|
|
a00b53007f | ||
|
|
38ac098adb | ||
|
|
5240fe25d5 | ||
|
|
50267e58a6 | ||
|
|
06e004b173 | ||
|
|
778dcc8098 | ||
|
|
6fee13a6c9 | ||
|
|
03c74c53a3 | ||
|
|
6152873a50 | ||
|
|
096da33282 | ||
|
|
c589d1d6da | ||
|
|
8550298dd1 | ||
|
|
9e4306408a | ||
|
|
dbdbe38471 | ||
|
|
8abe8eb654 | ||
|
|
c286e2b501 | ||
|
|
99f5efca66 | ||
|
|
41b71bffb5 | ||
|
|
94be27e20f | ||
|
|
d03e9cadeb | ||
|
|
eba50dccd0 | ||
|
|
345dcd1e3b |
@@ -0,0 +1 @@
|
|||||||
|
custom: ['t.me/tribute/app?startapp=dqW2']
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
name: Extract
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 6 * * 6' # Runs every Saturday at 06:00 UTC
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
extract:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
java-version: '21'
|
||||||
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Install JADX
|
||||||
|
run: |
|
||||||
|
JADX_VERSION=$(curl -s "https://api.github.com/repos/skylot/jadx/releases/latest" | grep -Po '"tag_name": "v\K[0-9.]+')
|
||||||
|
echo "Installing JADX version ${JADX_VERSION}..."
|
||||||
|
curl -Lo jadx.zip "https://github.com/skylot/jadx/releases/download/v${JADX_VERSION}/jadx-${JADX_VERSION}.zip"
|
||||||
|
unzip -q jadx.zip -d jadx-dist
|
||||||
|
echo "$(pwd)/jadx-dist/bin" >> $GITHUB_PATH
|
||||||
|
rm jadx.zip
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
|
- name: Extract app credentials
|
||||||
|
run: npm run extract:mobile && npm run extract:tv
|
||||||
|
|
||||||
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
name: Publish
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
registry-url: https://registry.npmjs.org/
|
||||||
|
- run: npm ci
|
||||||
|
|
||||||
|
# Extract version from package.json and determine release channel
|
||||||
|
- name: Parse version and determine release channel
|
||||||
|
id: version
|
||||||
|
run: |
|
||||||
|
VERSION=$(node -p "require('./package.json').version")
|
||||||
|
echo "PACKAGE_VERSION=$VERSION" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
if [[ $VERSION == *"-alpha."* ]]; then
|
||||||
|
echo "NPM_TAG=alpha" >> $GITHUB_OUTPUT
|
||||||
|
echo "PRERELEASE=true" >> $GITHUB_OUTPUT
|
||||||
|
elif [[ $VERSION == *"-beta."* ]]; then
|
||||||
|
echo "NPM_TAG=beta" >> $GITHUB_OUTPUT
|
||||||
|
echo "PRERELEASE=true" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "NPM_TAG=latest" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Publish with the appropriate tag
|
||||||
|
- name: Publish to npm
|
||||||
|
run: npm publish --tag ${{ steps.version.outputs.NPM_TAG }}
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
|
# Only create GitHub releases for stable versions
|
||||||
|
- name: Create GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
generate_release_notes: true
|
||||||
|
prerelease: ${{ steps.version.outputs.PRERELEASE == 'true' }}
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
/jadx-dist
|
||||||
|
/jadx.zip
|
||||||
/crunchyroll
|
/crunchyroll
|
||||||
crunchyroll.apk
|
crunchyroll.apk
|
||||||
crunchyroll.xapk
|
crunchyroll.xapk
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
||||||
|
"printWidth": 100,
|
||||||
|
"singleQuote": true,
|
||||||
|
"jsxSingleQuote": false,
|
||||||
|
"trailingComma": "all",
|
||||||
|
"tabWidth": 2,
|
||||||
|
"useTabs": false,
|
||||||
|
"semi": true,
|
||||||
|
"ignorePatterns": []
|
||||||
|
}
|
||||||
@@ -1,31 +1,34 @@
|
|||||||
# Crextractor
|
# Crextractor
|
||||||
|
|
||||||
Utility for extracting credentials from the Crunchyroll Android app
|
Utility for extracting credentials from the Crunchyroll Android app (both TV and mobile versions).
|
||||||
|
|
||||||
|
The [credentials](https://github.com/vitalygashkov/crextractor/blob/main/credentials.tv.json) are [automatically](https://github.com/vitalygashkov/crextractor/actions/workflows/extract.yml) updated once a week (if there are any changes).
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- [Node.js](https://nodejs.org/en)
|
- [Node.js](https://nodejs.org/en)
|
||||||
- [jadx](https://github.com/skylot/jadx)
|
- [jadx](https://github.com/skylot/jadx)
|
||||||
|
|
||||||
## Installation
|
## Usage
|
||||||
|
|
||||||
|
### Library
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm i crextractor
|
npm i crextractor
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
#### Fetch ready credentials from this GitHub repository
|
||||||
|
|
||||||
### Fetching already extracted secrets
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
async function main() {
|
import { pull } from 'crextractor';
|
||||||
const url = 'https://raw.githubusercontent.com/vitalygashkov/crextractor/refs/heads/main/credentials.tv.json';
|
|
||||||
const data = await fetch(url).then((response) => response.json());
|
|
||||||
|
|
||||||
// You can use the extracted secrets to obtain access tokens for Crunchyroll APIs
|
async function main() {
|
||||||
|
const credentials = await pull('tv');
|
||||||
|
|
||||||
|
// You can use the extracted credentials to obtain access tokens for Crunchyroll APIs
|
||||||
const response = await fetch('https://beta-api.crunchyroll.com/auth/v1/token', {
|
const response = await fetch('https://beta-api.crunchyroll.com/auth/v1/token', {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: data.authorization,
|
Authorization: credentials.authorization, // Ready HTTP header in the format `Basic <encoded>`, can be used to access some Crunchyroll APIs
|
||||||
'User-Agent': 'Crunchyroll/ANDROIDTV/3.42.1_22267 (Android 16; en-US; sdk_gphone64_x86_64)',
|
'User-Agent': 'Crunchyroll/ANDROIDTV/3.42.1_22267 (Android 16; en-US; sdk_gphone64_x86_64)',
|
||||||
// ...
|
// ...
|
||||||
},
|
},
|
||||||
@@ -37,17 +40,23 @@ async function main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Library
|
#### Extract credentials from the latest APK using jadx
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { extract } from 'crextractor';
|
import { extract } from 'crextractor';
|
||||||
|
|
||||||
const { id, secret, encoded, authorization } = await extract();
|
async function main() {
|
||||||
|
const { id, secret, encoded, authorization } = await extract();
|
||||||
|
// id - Crunchyroll app ID
|
||||||
|
// secret - Crunchyroll app secret
|
||||||
|
// encoded - Base64 encoded `id:secret` string
|
||||||
|
// authorization - ready HTTP header in the format `Basic <encoded>`, can be used to access some Crunchyroll APIs
|
||||||
|
|
||||||
// Do something with the extracted secrets
|
// Do something with the extracted credentials
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Command-line interface
|
### Command-line interface
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx crextractor --target mobile --output ./credentials.mobile.json
|
npx crextractor --target mobile --output ./credentials.mobile.json
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@ const args = parseArgs({
|
|||||||
},
|
},
|
||||||
cleanup: {
|
cleanup: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "3.89.2 (952)",
|
"version": "3.97.3 (1023)",
|
||||||
"id": "n0q2nxl37zig0dqn0aio",
|
"id": "t5u2txnuq8td1z0hodzt",
|
||||||
"secret": "P0j3he4N8UG8W2w0-PvDadjGuv62fN2d",
|
"secret": "4qEyXRs-WUeFwWPp4Dc5QyWu0YFtYP7O",
|
||||||
"encoded": "bjBxMm54bDM3emlnMGRxbjBhaW86UDBqM2hlNE44VUc4VzJ3MC1QdkRhZGpHdXY2MmZOMmQ=",
|
"encoded": "dDV1MnR4bnVxOHRkMXowaG9kenQ6NHFFeVhScy1XVWVGd1dQcDREYzVReVd1MFlGdFlQN08=",
|
||||||
"authorization": "Basic bjBxMm54bDM3emlnMGRxbjBhaW86UDBqM2hlNE44VUc4VzJ3MC1QdkRhZGpHdXY2MmZOMmQ="
|
"authorization": "Basic dDV1MnR4bnVxOHRkMXowaG9kenQ6NHFFeVhScy1XVWVGd1dQcDREYzVReVd1MFlGdFlQN08="
|
||||||
}
|
}
|
||||||
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "3.42.1 (22267)",
|
"version": "3.54.5 (22304)",
|
||||||
"id": "bmbrkxyx3d7u6jsfyla4",
|
"id": "ea9cmqltlqyzyan1vdy4",
|
||||||
"secret": "AIN4D5VE_cp0wVzfNoP0YqHUrYFp9hSg",
|
"secret": "-_YCpAD5gsxCiOHZzRLgICR8gOWXilQR",
|
||||||
"encoded": "Ym1icmt4eXgzZDd1NmpzZnlsYTQ6QUlONEQ1VkVfY3Awd1Z6Zk5vUDBZcUhVcllGcDloU2c=",
|
"encoded": "ZWE5Y21xbHRscXl6eWFuMXZkeTQ6LV9ZQ3BBRDVnc3hDaU9IWnpSTGdJQ1I4Z09XWGlsUVI=",
|
||||||
"authorization": "Basic Ym1icmt4eXgzZDd1NmpzZnlsYTQ6QUlONEQ1VkVfY3Awd1Z6Zk5vUDBZcUhVcllGcDloU2c="
|
"authorization": "Basic ZWE5Y21xbHRscXl6eWFuMXZkeTQ6LV9ZQ3BBRDVnc3hDaU9IWnpSTGdJQ1I4Z09XWGlsUVI="
|
||||||
}
|
}
|
||||||
Vendored
+17
-3
@@ -1,10 +1,24 @@
|
|||||||
export function extractSecrets(): Promise<{
|
export type CrunchyrollAppCredentials = {
|
||||||
// Crunchyroll app ID
|
// Crunchyroll app ID
|
||||||
id: string;
|
id: string;
|
||||||
// Crunchyroll app secret
|
// Crunchyroll app secret
|
||||||
secret: string;
|
secret: string;
|
||||||
// Base64 encoded `id:secret` string
|
// Base64 encoded `id:secret` string
|
||||||
encoded: string;
|
encoded: string;
|
||||||
// HTTP header with Basic Authorization to access Crunchyroll mobile APIs
|
// Ready HTTP header in the format `Basic <encoded>`, can be used to access some Crunchyroll APIs
|
||||||
authorization: string;
|
authorization: string;
|
||||||
}>;
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extract credentials from the Crunchyroll Android APK using jadx.
|
||||||
|
*/
|
||||||
|
export function extract(options?: {
|
||||||
|
target?: 'mobile' | 'tv';
|
||||||
|
output?: string;
|
||||||
|
cleanup?: boolean;
|
||||||
|
}): Promise<CrunchyrollAppCredentials>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch ready credentials from the GitHub repository.
|
||||||
|
*/
|
||||||
|
export function pull(options?: { target: 'mobile' | 'tv' }): Promise<CrunchyrollAppCredentials>;
|
||||||
|
|||||||
+45
-18
@@ -1,16 +1,12 @@
|
|||||||
const { execSync } = require('node:child_process');
|
const { execSync } = require('node:child_process');
|
||||||
const { join } = require('node:path');
|
const { join } = require('node:path');
|
||||||
const { readdir, readFile, writeFile, rm } = require('node:fs/promises');
|
const { readdir, readFile, writeFile, rm } = require('node:fs/promises');
|
||||||
const { download } = require('molnia');
|
|
||||||
const { existsSync } = require('node:fs');
|
const { existsSync } = require('node:fs');
|
||||||
|
const { download } = require('molnia');
|
||||||
|
|
||||||
const downloadMobileApk = async () => {
|
const downloadMobileApk = async () => {
|
||||||
const source = 'https://apkcombo.com/crunchyroll/com.crunchyroll.crunchyroid/download/apk';
|
const url = 'https://api.qqaoop.com/v11/apps/com.crunchyroll.crunchyroid/download?userId=1';
|
||||||
const page = await fetch(source);
|
const filepath = join(process.cwd(), 'crunchyroll.apk');
|
||||||
const html = await page.text();
|
|
||||||
const route = '/r2' + html.split('/r2')[1]?.split('"')[0];
|
|
||||||
const url = `https://apkcombo.com${route}`;
|
|
||||||
const filepath = join(process.cwd(), 'crunchyroll.xapk');
|
|
||||||
await download(url, {
|
await download(url, {
|
||||||
output: filepath,
|
output: filepath,
|
||||||
onError: (error) => console.error(error),
|
onError: (error) => console.error(error),
|
||||||
@@ -19,14 +15,23 @@ const downloadMobileApk = async () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const downloadTvApk = async () => {
|
const downloadTvApk = async () => {
|
||||||
|
const searchParams = new URLSearchParams();
|
||||||
|
searchParams.append('query', 'crunchyroll');
|
||||||
|
searchParams.append('cdn', 'web');
|
||||||
|
searchParams.append('q', 'bXlDUFU9YXJtNjQtdjhhLGFybWVhYmktdjdhLGFybWVhYmkmbGVhbmJhY2s9MA');
|
||||||
|
searchParams.append('aab', '1');
|
||||||
|
const searchUrl = `https://ws2-cache.aptoide.com/api/7/apps/search?${searchParams.toString()}`;
|
||||||
|
const searchResults = await fetch(searchUrl).then((r) => r.json());
|
||||||
|
const id = searchResults.datalist?.list?.[0]?.id;
|
||||||
|
if (!id) {
|
||||||
|
console.error('Unable to find ID for TV APK');
|
||||||
|
return;
|
||||||
|
}
|
||||||
const source = 'https://webservices.aptoide.com/webservices/3/getApkInfo';
|
const source = 'https://webservices.aptoide.com/webservices/3/getApkInfo';
|
||||||
const formData = new FormData();
|
const body = new FormData();
|
||||||
formData.append('identif', 'id:71305225');
|
body.append('identif', `id:${id}`);
|
||||||
formData.append('mode', 'json');
|
body.append('mode', 'json');
|
||||||
const response = await fetch(source, {
|
const response = await fetch(source, { method: 'POST', body });
|
||||||
method: 'POST',
|
|
||||||
body: formData,
|
|
||||||
});
|
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
const url = json.apk.path;
|
const url = json.apk.path;
|
||||||
const filepath = join(process.cwd(), 'crunchyroll.apk');
|
const filepath = join(process.cwd(), 'crunchyroll.apk');
|
||||||
@@ -78,7 +83,15 @@ const parseCredentials = async (decompiledDir) => {
|
|||||||
if (id && secret) return { id, secret };
|
if (id && secret) return { id, secret };
|
||||||
}
|
}
|
||||||
|
|
||||||
const constantsPath = join(decompiledDir, 'sources', 'com', 'crunchyroll', 'api', 'util', 'Constants.java');
|
const constantsPath = join(
|
||||||
|
decompiledDir,
|
||||||
|
'sources',
|
||||||
|
'com',
|
||||||
|
'crunchyroll',
|
||||||
|
'api',
|
||||||
|
'util',
|
||||||
|
'Constants.java',
|
||||||
|
);
|
||||||
const constants = await readFile(constantsPath, 'utf8');
|
const constants = await readFile(constantsPath, 'utf8');
|
||||||
return {
|
return {
|
||||||
id: constants.split(' PROD_CLIENT_ID = "')[1].split('"')[0],
|
id: constants.split(' PROD_CLIENT_ID = "')[1].split('"')[0],
|
||||||
@@ -100,10 +113,15 @@ const parseVersion = async (decompiledDir) => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const extract = async ({ target, output, cleanup = false } = {}) => {
|
const extract = async ({ target = 'mobile', output, cleanup = false } = {}) => {
|
||||||
console.log('Downloading APK...');
|
console.log('Downloading APK...');
|
||||||
const apkPath = target === 'tv' ? await downloadTvApk() : await downloadMobileApk();
|
const apkPath = target === 'tv' ? await downloadTvApk() : await downloadMobileApk();
|
||||||
|
|
||||||
|
if (!existsSync(apkPath)) {
|
||||||
|
console.error('Unable to find APK (possibly a download error)');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
console.log('Decompiling APK...');
|
console.log('Decompiling APK...');
|
||||||
const decompiledDir = decompileApk(apkPath);
|
const decompiledDir = decompileApk(apkPath);
|
||||||
|
|
||||||
@@ -126,10 +144,19 @@ const extract = async ({ target, output, cleanup = false } = {}) => {
|
|||||||
console.log(`Authorization: ${authorization}`);
|
console.log(`Authorization: ${authorization}`);
|
||||||
|
|
||||||
if (output) {
|
if (output) {
|
||||||
await writeFile(output, JSON.stringify({ version, id, secret, encoded, authorization }, null, 2));
|
await writeFile(
|
||||||
|
output,
|
||||||
|
JSON.stringify({ version, id, secret, encoded, authorization }, null, 2),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return { version, id, secret, encoded, authorization };
|
return { version, id, secret, encoded, authorization };
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = { extract };
|
const pull = async ({ target = 'mobile' } = {}) => {
|
||||||
|
const url = `https://raw.githubusercontent.com/vitalygashkov/crextractor/refs/heads/main/credentials.${target}.json`;
|
||||||
|
const credentials = await fetch(url).then((response) => response.json());
|
||||||
|
return credentials;
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = { extract, pull };
|
||||||
|
|||||||
Generated
+163
-11
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.2.0",
|
"version": "1.3.5",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.2.0",
|
"version": "1.3.5",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "individual",
|
"type": "individual",
|
||||||
@@ -15,18 +15,131 @@
|
|||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"molnia": "^0.1.5"
|
"molnia": "^0.1.7"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"crextractor": "bin/cli.js"
|
"crextractor": "bin/cli.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5.9.2"
|
"oxfmt": "^0.28.0",
|
||||||
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=22"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@oxfmt/darwin-arm64": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/darwin-arm64/-/darwin-arm64-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-jmUfF7cNJPw57bEK7sMIqrYRgn4LH428tSgtgLTCtjuGuu1ShREyrkeB7y8HtkXRfhBs4lVY+HMLhqElJvZ6ww==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/darwin-x64": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/darwin-x64/-/darwin-x64-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-S6vlV8S7jbjzJOSjfVg2CimUC0r7/aHDLdUm/3+/B/SU/s1jV7ivqWkMv1/8EB43d1BBwT9JQ60ZMTkBqeXSFA==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"darwin"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/linux-arm64-gnu": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/linux-arm64-gnu/-/linux-arm64-gnu-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-TfJkMZjePbLiskmxFXVAbGI/OZtD+y+fwS0wyW8O6DWG0ARTf0AipY9zGwGoOdpFuXOJceXvN4SHGLbYNDMY4Q==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/linux-arm64-musl": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/linux-arm64-musl/-/linux-arm64-musl-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-7fyQUdW203v4WWGr1T3jwTz4L7KX9y5DeATryQ6fLT6QQp9GEuct8/k0lYhd+ys42iTV/IkJF20e3YkfSOOILg==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/linux-x64-gnu": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/linux-x64-gnu/-/linux-x64-gnu-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-sRKqAvEonuz0qr1X1ncUZceOBJerKzkO2gZIZmosvy/JmqyffpIFL3OE2tqacFkeDhrC+dNYQpusO8zsfHo3pw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/linux-x64-musl": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/linux-x64-musl/-/linux-x64-musl-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-fW6czbXutX/tdQe8j4nSIgkUox9RXqjyxwyWXUDItpoDkoXllq17qbD7GVc0whrEhYQC6hFE1UEAcDypLJoSzw==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/win32-arm64": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/win32-arm64/-/win32-arm64-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-D/HDeQBAQRjTbD9OLV6kRDcStrIfO+JsUODDCdGmhRfNX8LPCx95GpfyybpZfn3wVF8Jq/yjPXV1xLkQ+s7RcA==",
|
||||||
|
"cpu": [
|
||||||
|
"arm64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@oxfmt/win32-x64": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@oxfmt/win32-x64/-/win32-x64-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-4+S2j4OxOIyo8dz5osm5dZuL0yVmxXvtmNdHB5xyGwAWVvyWNvf7tCaQD7w2fdSsAXQLOvK7KFQrHFe33nJUCA==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"win32"
|
||||||
|
]
|
||||||
|
},
|
||||||
"node_modules/fastq": {
|
"node_modules/fastq": {
|
||||||
"version": "1.19.1",
|
"version": "1.19.1",
|
||||||
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
|
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.19.1.tgz",
|
||||||
@@ -37,9 +150,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/molnia": {
|
"node_modules/molnia": {
|
||||||
"version": "0.1.5",
|
"version": "0.1.7",
|
||||||
"resolved": "https://registry.npmjs.org/molnia/-/molnia-0.1.5.tgz",
|
"resolved": "https://registry.npmjs.org/molnia/-/molnia-0.1.7.tgz",
|
||||||
"integrity": "sha512-Kb3bhlvNVWJ9Z8tGZGkhmChpXQY8OLFPkxXFvLJb+foLwfH7JyyJl+DbKuUKAIK1vnxs5sBFuQb3wxOIwWBpiA==",
|
"integrity": "sha512-wCezzcu2sRybrJb9ltrBEWwzO9NU2DRgxZw5Gr1g2QrnwrNo+olE3cAiD3Q1Y76rCde1qXBUmEuZ13aKXew+AQ==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "individual",
|
"type": "individual",
|
||||||
@@ -58,6 +171,35 @@
|
|||||||
"node": ">=20"
|
"node": ">=20"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/oxfmt": {
|
||||||
|
"version": "0.28.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/oxfmt/-/oxfmt-0.28.0.tgz",
|
||||||
|
"integrity": "sha512-3+hhBqPE6Kp22KfJmnstrZbl+KdOVSEu1V0ABaFIg1rYLtrMgrupx9znnHgHLqKxAVHebjTdiCJDk30CXOt6cw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"tinypool": "2.1.0"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"oxfmt": "bin/oxfmt"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.19.0 || >=22.12.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://github.com/sponsors/Boshen"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@oxfmt/darwin-arm64": "0.28.0",
|
||||||
|
"@oxfmt/darwin-x64": "0.28.0",
|
||||||
|
"@oxfmt/linux-arm64-gnu": "0.28.0",
|
||||||
|
"@oxfmt/linux-arm64-musl": "0.28.0",
|
||||||
|
"@oxfmt/linux-x64-gnu": "0.28.0",
|
||||||
|
"@oxfmt/linux-x64-musl": "0.28.0",
|
||||||
|
"@oxfmt/win32-arm64": "0.28.0",
|
||||||
|
"@oxfmt/win32-x64": "0.28.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/reusify": {
|
"node_modules/reusify": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/reusify/-/reusify-1.1.0.tgz",
|
||||||
@@ -68,10 +210,20 @@
|
|||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/tinypool": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/tinypool/-/tinypool-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-Pugqs6M0m7Lv1I7FtxN4aoyToKg1C4tu+/381vH35y8oENM/Ai7f7C4StcoK4/+BSw9ebcS8jRiVrORFKCALLw==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": "^20.0.0 || >=22.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.9.2",
|
"version": "5.9.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
||||||
"integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==",
|
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
+7
-4
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.2.0",
|
"version": "1.3.5",
|
||||||
"description": "Utility for extracting credentials from the Crunchyroll Android app",
|
"description": "Utility for extracting credentials from the Crunchyroll Android app",
|
||||||
"main": "crextractor.js",
|
"main": "crextractor.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -15,6 +15,8 @@
|
|||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node bin/cli.js",
|
"start": "node bin/cli.js",
|
||||||
|
"extract:mobile": "node bin/cli.js --target mobile --output ./credentials.mobile.json",
|
||||||
|
"extract:tv": "node bin/cli.js --target tv --output ./credentials.tv.json",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@@ -30,12 +32,13 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=20"
|
"node": ">=22"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"molnia": "^0.1.5"
|
"molnia": "^0.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5.9.2"
|
"oxfmt": "^0.28.0",
|
||||||
|
"typescript": "^5.9.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user