feat: add online fix as repacker

This commit is contained in:
João Martins 2024-04-19 22:53:58 -03:00
parent 3449ac517b
commit ed8b44c8c5
No known key found for this signature in database
GPG key ID: 4F4EF2B738A71395
10 changed files with 450 additions and 19 deletions

View file

@ -5,6 +5,7 @@ import {
getNewRepacksFromCPG,
getNewRepacksFromUser,
getNewRepacksFromXatab,
getNewRepacksFromOnlineFix,
readPipe,
startProcessWatcher,
writePipe,
@ -77,6 +78,9 @@ const checkForNewRepacks = async () => {
getNewRepacksFromCPG(
existingRepacks.filter((repack) => repack.repacker === "CPG")
),
getNewRepacksFromOnlineFix(
existingRepacks.filter((repack) => repack.repacker === "onlinefix")
),
track1337xUsers(existingRepacks),
]).then(() => {
repackRepository.count().then((count) => {