[scraper] fixes tpb browse request url

This commit is contained in:
TheBeastLT
2020-03-27 19:51:35 +01:00
parent cfe722c148
commit e79064019e

View File

@@ -116,7 +116,7 @@ function browse(config = {}, retries = 2) {
const category = config.category || 0;
return Promises.first(proxyList
.map((proxyUrl) => singleRequest(`${proxyUrl}/browse/${category}/${page}`, config)
.map((proxyUrl) => singleRequest(`${proxyUrl}/browse/${category}/${page}/3`, config)
.then((body) => parseBody(body))))
.catch((err) => browse(config, retries - 1));
}