mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
Updated scrapers to latest available commit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user