/* Old_iPA_Downloader by LangKhach */ var url = $request.url; var obj = $request.body; const api= "unlimapps"; const buy= "inAppCheckDownloadQueue"; if(url.indexOf(api) != -1){ var appidget = url.match(/\d{6,9}$/); console.log("🟢\n appid: " + appidget); $prefs.setValueForKey(appidget.toString(),"appid"); $notify('Old_iPA_Dowloader', 'iTunes PC search app and click Get', 'By @Lãng Khách'); $done({body}); } if(url.indexOf(buy) != -1){ var appid= $persistentStore.read("appid"); var body= obj.replace(/\d{6,}/, appid); console.log('🟢 Old_iPA_Downloader \nappid: ' + appid); $done({body}); }