Updated scrapers to latest available commit

This commit is contained in:
Gabisonfire
2024-01-17 16:43:58 -05:00
parent cab7f38c66
commit 909ade0d8e
39 changed files with 311 additions and 299 deletions

View File

@@ -33,7 +33,8 @@ async function updateSeeders(torrent) {
async function scrapeLatestTorrents() {
const allowedCategories = [
lapumia.Categories.MOVIE
lapumia.Categories.MOVIE,
lapumia.Categories.TV
];
return Promises.sequence(allowedCategories
@@ -102,9 +103,6 @@ function typeMapping() {
}
function untilPage(category) {
if (lapumia.Categories.TV === category) {
return 5;
}
if (lapumia.Categories.ANIME === category) {
return 2;
}