mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
[scraper] fixes tpb browse request url
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user