mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-04-21 19:21:55 +00:00
retrieve only first page of torrents from rd
This commit is contained in:
parent
adbd2f41f4
commit
d666716140
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const { getMagnetLink } = require('../lib/magnetHelper');
|
||||||
const { chunkArray, BadTokenError, AccessDeniedError } = require('./mochHelper');
|
const { chunkArray, BadTokenError, AccessDeniedError } = require('./mochHelper');
|
||||||
|
|
||||||
const MIN_SIZE = 5 * 1024 * 1024; // 5 MB
|
const MIN_SIZE = 5 * 1024 * 1024; // 5 MB
|
||||||
const CATALOG_MAX_PAGE = 5;
|
const CATALOG_MAX_PAGE = 1;
|
||||||
const CATALOG_PAGE_SIZE = 100;
|
const CATALOG_PAGE_SIZE = 100;
|
||||||
const NON_BLACKLIST_ERRORS = ['ESOCKETTIMEDOUT', 'EAI_AGAIN', '504 Gateway Time-out'];
|
const NON_BLACKLIST_ERRORS = ['ESOCKETTIMEDOUT', 'EAI_AGAIN', '504 Gateway Time-out'];
|
||||||
const KEY = "realdebrid"
|
const KEY = "realdebrid"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue