mirror of
https://github.com/vitalygashkov/crextractor.git
synced 2026-07-15 17:40:03 +02:00
fix: update tv app id
This commit is contained in:
+4
-7
@@ -16,13 +16,10 @@ const downloadMobileApk = async () => {
|
|||||||
|
|
||||||
const downloadTvApk = async () => {
|
const downloadTvApk = async () => {
|
||||||
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:71666229');
|
body.append('identif', 'id:72075737');
|
||||||
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');
|
||||||
|
|||||||
Reference in New Issue
Block a user