diff --git a/scripts/status_check.py b/scripts/status_check.py index 0e05e4e..32205db 100644 --- a/scripts/status_check.py +++ b/scripts/status_check.py @@ -192,13 +192,13 @@ def main() -> None: response = requests.get(revanced_api, timeout=request_timeout) handle_request_response(response, revanced_api) - patches = response.json()["patches"] + patches = response.json() possible_apps = set() for patch in patches: if patch.get("compatiblePackages", None): for compatible_package in patch["compatiblePackages"]: - possible_apps.add(compatible_package["name"]) + possible_apps.add(compatible_package) supported_app = set(Patches.support_app().keys()) missing_support = sorted(possible_apps.difference(supported_app)) diff --git a/src/downloader/sources.py b/src/downloader/sources.py index 9e4824d..34300be 100644 --- a/src/downloader/sources.py +++ b/src/downloader/sources.py @@ -17,7 +17,7 @@ PLAY_STORE_APK_URL = f"{PLAY_STORE_BASE_URL}/store/apps/details?id=" + "{}" APK_COMBO_BASE_URL = "https://apkcombo.com" APK_COMBO_GENERIC_URL = APK_COMBO_BASE_URL + "/genericApp/{}" not_found_icon = "https://img.icons8.com/bubbles/500/android-os.png" -revanced_api = "https://api.revanced.app/v2/patches/latest" +revanced_api = "https://api.revanced.app/v4/patches/list" APK_MONK_BASE_URL = "https://www.apkmonk.com" APKEEP = "apkeep" APK_MONK_APK_URL = APK_MONK_BASE_URL + "/app/{}/"