mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-16 01:44:24 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68b61b3dd2 | ||
|
|
49b208c9ec | ||
|
|
0372c520b0 | ||
|
|
41694bb0b9 | ||
|
|
6d2019cec7 | ||
|
|
9dec6c95a4 | ||
|
|
4175a41b73 | ||
|
|
ebad84b4e7 | ||
|
|
e7e1e3df4f | ||
|
|
d8f8586045 | ||
|
|
b42a8d29dc | ||
|
|
fc11a30c73 | ||
|
|
4264727c33 | ||
|
|
c6ec34ca8b | ||
|
|
3297dce797 | ||
|
|
ae1e4c97d7 | ||
|
|
f5d2233d68 | ||
|
|
196a1cad1d | ||
|
|
00408ad8e8 | ||
|
|
4e5a0d1561 |
@@ -28,6 +28,7 @@ jobs:
|
|||||||
echo "Installing JADX version ${JADX_VERSION}..."
|
echo "Installing JADX version ${JADX_VERSION}..."
|
||||||
curl -Lo jadx.zip "https://github.com/skylot/jadx/releases/download/v${JADX_VERSION}/jadx-${JADX_VERSION}.zip"
|
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
|
unzip -q jadx.zip -d jadx-dist
|
||||||
|
chmod +x jadx-dist/bin/jadx
|
||||||
echo "$(pwd)/jadx-dist/bin" >> $GITHUB_PATH
|
echo "$(pwd)/jadx-dist/bin" >> $GITHUB_PATH
|
||||||
rm jadx.zip
|
rm jadx.zip
|
||||||
|
|
||||||
|
|||||||
@@ -1,22 +1,28 @@
|
|||||||
name: Publish
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*'
|
- "v*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 22
|
node-version: 22
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
|
- run: npm install -g npm@latest
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
|
||||||
# Extract version from package.json and determine release channel
|
|
||||||
- name: Parse version and determine release channel
|
- name: Parse version and determine release channel
|
||||||
id: version
|
id: version
|
||||||
run: |
|
run: |
|
||||||
@@ -33,19 +39,13 @@ jobs:
|
|||||||
echo "NPM_TAG=latest" >> $GITHUB_OUTPUT
|
echo "NPM_TAG=latest" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Publish with the appropriate tag
|
- name: Publish new version
|
||||||
- name: Publish to npm
|
|
||||||
run: npm publish --tag ${{ steps.version.outputs.NPM_TAG }}
|
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 release
|
||||||
- name: Create GitHub Release
|
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
|
if: github.ref_type == 'tag'
|
||||||
with:
|
with:
|
||||||
generate_release_notes: true
|
generate_release_notes: true
|
||||||
prerelease: ${{ steps.version.outputs.PRERELEASE == 'true' }}
|
prerelease: ${{ steps.version.outputs.PRERELEASE == 'true' }}
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|||||||
@@ -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": []
|
||||||
|
}
|
||||||
@@ -4,32 +4,33 @@ Utility for extracting credentials from the Crunchyroll Android app (both TV and
|
|||||||
|
|
||||||
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).
|
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
|
|
||||||
|
|
||||||
- [Node.js](https://nodejs.org/en)
|
|
||||||
- [jadx](https://github.com/skylot/jadx)
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
### Library
|
### Fetch ready credentials from this GitHub repository
|
||||||
|
|
||||||
```bash
|
|
||||||
npm i crextractor
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Fetch ready credentials from this GitHub repository
|
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { pull } from 'crextractor';
|
// Supported targets: mobile, tv
|
||||||
|
async function fetchCredentials(target = 'tv') {
|
||||||
|
const url = `https://raw.githubusercontent.com/vitalygashkov/crextractor/refs/heads/main/credentials.${target}.json`;
|
||||||
|
return fetch(url).then((response) => response.json());
|
||||||
|
}
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const credentials = await pull('tv');
|
const credentials = fetchCredentials();
|
||||||
|
|
||||||
|
// You can use credentials to obtain access tokens for Crunchyroll APIs
|
||||||
|
|
||||||
|
// 3.54.5 (22304) -> 3.54.5_22304
|
||||||
|
const userAgentAppVersion = credentials.version
|
||||||
|
.replace(' ', '_')
|
||||||
|
.replace('(', '')
|
||||||
|
.replace(')', '');
|
||||||
|
|
||||||
// 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: credentials.authorization, // Ready HTTP header in the format `Basic <encoded>`, can be used to access some Crunchyroll APIs
|
// 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)',
|
Authorization: credentials.authorization,
|
||||||
|
'User-Agent': `Crunchyroll/ANDROIDTV/${userAgentAppVersion} (Android 16; en-US; sdk_gphone64_x86_64)`,
|
||||||
// ...
|
// ...
|
||||||
},
|
},
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
@@ -40,23 +41,12 @@ async function main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Extract credentials from the latest APK using jadx
|
### Extract fresh credentials from the latest APK using jadx
|
||||||
|
|
||||||
```js
|
#### Prerequisites
|
||||||
import { extract } from 'crextractor';
|
|
||||||
|
|
||||||
async function main() {
|
- [Node.js](https://nodejs.org/en)
|
||||||
const { id, secret, encoded, authorization } = await extract();
|
- [jadx](https://github.com/skylot/jadx)
|
||||||
// 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 credentials
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### Command-line interface
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npx crextractor --target mobile --output ./credentials.mobile.json
|
npx crextractor --target mobile --output ./credentials.mobile.json
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
const { parseArgs } = require('node:util');
|
import { parseArgs } from 'node:util';
|
||||||
const { extract } = require('../crextractor');
|
import { extract } from '../crextractor.js';
|
||||||
|
|
||||||
const args = parseArgs({
|
const args = parseArgs({
|
||||||
options: {
|
options: {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "3.92.3 (977)",
|
"version": "3.99.0 (1056)",
|
||||||
"id": "dvoxpszj59depczpxvwj",
|
"id": "xrpuo7pnmptovztigdfp",
|
||||||
"secret": "_VQmMQlJw65tMCIT-SvM2r6OvBTs85Gf",
|
"secret": "VuGVUbd1ldRoBPzSdbD4uBcfnPjrlESn",
|
||||||
"encoded": "ZHZveHBzemo1OWRlcGN6cHh2d2o6X1ZRbU1RbEp3NjV0TUNJVC1Tdk0ycjZPdkJUczg1R2Y=",
|
"encoded": "eHJwdW83cG5tcHRvdnp0aWdkZnA6VnVHVlViZDFsZFJvQlB6U2RiRDR1QmNmblBqcmxFU24=",
|
||||||
"authorization": "Basic ZHZveHBzemo1OWRlcGN6cHh2d2o6X1ZRbU1RbEp3NjV0TUNJVC1Tdk0ycjZPdkJUczg1R2Y="
|
"authorization": "Basic eHJwdW83cG5tcHRvdnp0aWdkZnA6VnVHVlViZDFsZFJvQlB6U2RiRDR1QmNmblBqcmxFU24="
|
||||||
}
|
}
|
||||||
+5
-5
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": "3.45.2 (22274)",
|
"version": "3.54.5 (22304)",
|
||||||
"id": "cb9nzrmht32vgtexygko",
|
"id": "ea9cmqltlqyzyan1vdy4",
|
||||||
"secret": "KUwmMjJXxxursHITd1zvl2C2yQaQo8N4",
|
"secret": "-_YCpAD5gsxCiOHZzRLgICR8gOWXilQR",
|
||||||
"encoded": "Y2I5bnpybWh0MzJ2Z3RleHlna286S1V3bU1qSlh4eHVyc0hJVGQxenZsMkMyeVFhUW84TjQ=",
|
"encoded": "ZWE5Y21xbHRscXl6eWFuMXZkeTQ6LV9ZQ3BBRDVnc3hDaU9IWnpSTGdJQ1I4Z09XWGlsUVI=",
|
||||||
"authorization": "Basic Y2I5bnpybWh0MzJ2Z3RleHlna286S1V3bU1qSlh4eHVyc0hJVGQxenZsMkMyeVFhUW84TjQ="
|
"authorization": "Basic ZWE5Y21xbHRscXl6eWFuMXZkeTQ6LV9ZQ3BBRDVnc3hDaU9IWnpSTGdJQ1I4Z09XWGlsUVI="
|
||||||
}
|
}
|
||||||
+34
-10
@@ -1,8 +1,8 @@
|
|||||||
const { execSync } = require('node:child_process');
|
import { execSync } from 'node:child_process';
|
||||||
const { join } = require('node:path');
|
import { join } from 'node:path';
|
||||||
const { readdir, readFile, writeFile, rm } = require('node:fs/promises');
|
import { readdir, readFile, writeFile, rm } from 'node:fs/promises';
|
||||||
const { existsSync } = require('node:fs');
|
import { existsSync } from 'node:fs';
|
||||||
const { download } = require('molnia');
|
import { download } from 'molnia';
|
||||||
|
|
||||||
const downloadMobileApk = async () => {
|
const downloadMobileApk = async () => {
|
||||||
const url = 'https://api.qqaoop.com/v11/apps/com.crunchyroll.crunchyroid/download?userId=1';
|
const url = 'https://api.qqaoop.com/v11/apps/com.crunchyroll.crunchyroid/download?userId=1';
|
||||||
@@ -15,9 +15,21 @@ 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 body = new FormData();
|
const body = new FormData();
|
||||||
body.append('identif', 'id:72075737');
|
body.append('identif', `id:${id}`);
|
||||||
body.append('mode', 'json');
|
body.append('mode', 'json');
|
||||||
const response = await fetch(source, { method: 'POST', body });
|
const response = await fetch(source, { method: 'POST', body });
|
||||||
const json = await response.json();
|
const json = await response.json();
|
||||||
@@ -71,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],
|
||||||
@@ -83,7 +103,8 @@ const parseVersion = async (decompiledDir) => {
|
|||||||
const manifestJsonPath = join(decompiledDir, 'resources', 'manifest.json');
|
const manifestJsonPath = join(decompiledDir, 'resources', 'manifest.json');
|
||||||
const manifestXmlPath = join(decompiledDir, 'resources', 'AndroidManifest.xml');
|
const manifestXmlPath = join(decompiledDir, 'resources', 'AndroidManifest.xml');
|
||||||
if (existsSync(manifestJsonPath)) {
|
if (existsSync(manifestJsonPath)) {
|
||||||
const manifest = require(manifestJsonPath);
|
const manifestContent = await readFile(manifestJsonPath, 'utf8');
|
||||||
|
const manifest = JSON.parse(manifestContent);
|
||||||
const version = `${manifest.version_name} (${manifest.version_code})`;
|
const version = `${manifest.version_name} (${manifest.version_code})`;
|
||||||
return version;
|
return version;
|
||||||
} else if (existsSync(manifestXmlPath)) {
|
} else if (existsSync(manifestXmlPath)) {
|
||||||
@@ -124,7 +145,10 @@ const extract = async ({ target = 'mobile', 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 };
|
||||||
@@ -136,4 +160,4 @@ const pull = async ({ target = 'mobile' } = {}) => {
|
|||||||
return credentials;
|
return credentials;
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = { extract, pull };
|
export { extract, pull };
|
||||||
|
|||||||
Generated
+159
-7
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.3.4",
|
"version": "1.4.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.3.4",
|
"version": "1.4.0",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "individual",
|
"type": "individual",
|
||||||
@@ -21,12 +21,125 @@
|
|||||||
"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": ">=24"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"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",
|
||||||
@@ -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": {
|
||||||
|
|||||||
+36
-20
@@ -1,8 +1,26 @@
|
|||||||
{
|
{
|
||||||
"name": "crextractor",
|
"name": "crextractor",
|
||||||
"version": "1.3.4",
|
"version": "1.4.0",
|
||||||
"description": "Utility for extracting credentials from the Crunchyroll Android app",
|
"description": "Utility for extracting credentials from the Crunchyroll Android app",
|
||||||
"main": "crextractor.js",
|
"keywords": [
|
||||||
|
"crunchyroll"
|
||||||
|
],
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/vitalygashkov/crextractor/issues",
|
||||||
|
"email": "vitalygashkov@vk.com"
|
||||||
|
},
|
||||||
|
"license": "MIT",
|
||||||
|
"author": "Vitaly Gashkov <vitalygashkov@vk.com>",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/vitalygashkov/crextractor.git"
|
||||||
|
},
|
||||||
|
"funding": [
|
||||||
|
{
|
||||||
|
"type": "individual",
|
||||||
|
"url": "https://t.me/tribute/app?startapp=dqW2"
|
||||||
|
}
|
||||||
|
],
|
||||||
"bin": {
|
"bin": {
|
||||||
"crextractor": "bin/cli.js"
|
"crextractor": "bin/cli.js"
|
||||||
},
|
},
|
||||||
@@ -11,33 +29,31 @@
|
|||||||
"crextractor.d.ts",
|
"crextractor.d.ts",
|
||||||
"crextractor.js"
|
"crextractor.js"
|
||||||
],
|
],
|
||||||
|
"type": "module",
|
||||||
|
"main": "crextractor.js",
|
||||||
"types": "crextractor.d.ts",
|
"types": "crextractor.d.ts",
|
||||||
"type": "commonjs",
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./crextractor.d.ts",
|
||||||
|
"import": "./crextractor.js",
|
||||||
|
"require": "./crextractor.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"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:mobile": "node bin/cli.js --target mobile --output ./credentials.mobile.json",
|
||||||
"extract:tv": "node bin/cli.js --target tv --output ./credentials.tv.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": [
|
|
||||||
"crunchyroll"
|
|
||||||
],
|
|
||||||
"author": "Vitaly Gashkov <vitalygashkov@vk.com>",
|
|
||||||
"license": "MIT",
|
|
||||||
"readmeFilename": "README.md",
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "individual",
|
|
||||||
"url": "https://t.me/tribute/app?startapp=dqW2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">=20"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"molnia": "^0.1.7"
|
"molnia": "^0.1.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"typescript": "^5.9.2"
|
"oxfmt": "^0.28.0",
|
||||||
}
|
"typescript": "^5.9.3"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=24"
|
||||||
|
},
|
||||||
|
"readmeFilename": "README.md"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user