diff --git a/scraper/index.js b/scraper/index.js index f76c169..efbc27a 100644 --- a/scraper/index.js +++ b/scraper/index.js @@ -22,7 +22,7 @@ const PROVIDERS = [ // thepiratebayDumpScraper // thepiratebayUnofficialDumpScraper ]; -const SCRAPE_CRON = process.env.SCRAPE_CRON || '* * 0/4 * * *'; +const SCRAPE_CRON = process.env.SCRAPE_CRON || '0 0 */4 ? * *'; async function scrape() { return PROVIDERS diff --git a/scraper/scrapers/thepiratebay/thepiratebay_scraper.js b/scraper/scrapers/thepiratebay/thepiratebay_scraper.js index 4b5dc28..0ff3648 100644 --- a/scraper/scrapers/thepiratebay/thepiratebay_scraper.js +++ b/scraper/scrapers/thepiratebay/thepiratebay_scraper.js @@ -7,7 +7,7 @@ const Promises = require('../../lib/promises'); const { createTorrentEntry, getStoredTorrentEntry, updateTorrentSeeders } = require('../../lib/torrentEntries'); const NAME = 'ThePirateBay'; -const UNTIL_PAGE = 20; +const UNTIL_PAGE = 10; const limiter = new Bottleneck({ maxConcurrent: 40 });