diff --git a/hydra.db b/hydra.db index 4522e1ae5..dad571207 100644 Binary files a/hydra.db and b/hydra.db differ diff --git a/src/main/services/repack-tracker/online-fix.ts b/src/main/services/repack-tracker/online-fix.ts index 38864a8bf..265f6b703 100644 --- a/src/main/services/repack-tracker/online-fix.ts +++ b/src/main/services/repack-tracker/online-fix.ts @@ -148,9 +148,10 @@ export const getNewRepacksFromOnlineFix = async ( ); if (!newRepacks.length) return; - if (page === totalPages) return; await savePage(newRepacks); + if (page === totalPages) return; + return getNewRepacksFromOnlineFix(existingRepacks, page + 1, cookieJar); }; diff --git a/src/main/services/repack-tracker/xatab.ts b/src/main/services/repack-tracker/xatab.ts index 34ebfa4ce..e765bebf3 100644 --- a/src/main/services/repack-tracker/xatab.ts +++ b/src/main/services/repack-tracker/xatab.ts @@ -111,9 +111,10 @@ export const getNewRepacksFromXatab = async ( ); if (!newRepacks.length) return; - if (page === totalPages) return; await savePage(newRepacks); + if (page === totalPages) return; + return getNewRepacksFromXatab(existingRepacks, page + 1); };