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 source = 'https://webservices.aptoide.com/webservices/3/getApkInfo';
|
||||
const formData = new FormData();
|
||||
formData.append('identif', 'id:71666229');
|
||||
formData.append('mode', 'json');
|
||||
const response = await fetch(source, {
|
||||
method: 'POST',
|
||||
body: formData,
|
||||
});
|
||||
const body = new FormData();
|
||||
body.append('identif', 'id:72075737');
|
||||
body.append('mode', 'json');
|
||||
const response = await fetch(source, { method: 'POST', body });
|
||||
const json = await response.json();
|
||||
const url = json.apk.path;
|
||||
const filepath = join(process.cwd(), 'crunchyroll.apk');
|
||||
|
||||
Reference in New Issue
Block a user