[scraper] adds scheduling flag to enable it

This commit is contained in:
TheBeastLT
2020-03-12 09:02:50 +01:00
parent 4a0a5c4260
commit c6e0c01850
10 changed files with 22 additions and 12 deletions

View File

@@ -86,4 +86,4 @@ function typeMapping() {
return mapping;
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -193,4 +193,4 @@ async function checkIfExists(torrent) {
return { ...torrent, size: existingTorrent.size, seeders: existingTorrent.seeders };
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -95,4 +95,4 @@ async function findTorrent(record) {
return Promise.reject("not found");
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -84,4 +84,4 @@ function typeMapping() {
return mapping;
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -73,4 +73,4 @@ function getType(category) {
return Type.MOVIE;
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -100,4 +100,4 @@ function getType(category) {
return Type.MOVIE;
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -178,4 +178,4 @@ function downloadDump(dump) {
})
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -82,4 +82,4 @@ async function processTorrentRecord(record) {
return createTorrentEntry(torrent);
}
module.exports = { scrape };
module.exports = { scrape, NAME };

View File

@@ -109,4 +109,4 @@ async function processTorrentRecord(record) {
return createTorrentEntry(torrent);
}
module.exports = { scrape };
module.exports = { scrape, NAME };