Fixed Score searching for actors infinitely.

This commit is contained in:
ThePendulum 2020-02-02 15:26:24 +01:00
parent 96e027b4e3
commit 10d2ba78d0
1 changed files with 3 additions and 1 deletions

View File

@ -178,7 +178,9 @@ async function fetchProfile(actorName, scraperSlug, page = 1) {
const letter = actorName.charAt(0).toUpperCase(); const letter = actorName.charAt(0).toUpperCase();
const url = `https://www.scoreland.com/big-boob-models/browse/${letter}/?page=${page}`; const url = `https://www.scoreland.com/big-boob-models/browse/${letter}/?page=${page}`;
const res = await bhttp.get(url); const res = await bhttp.get(url, {
followRedirects: false,
});
if (res.statusCode === 200) { if (res.statusCode === 200) {
const actorUrl = scrapeModels(res.body.toString(), actorName); const actorUrl = scrapeModels(res.body.toString(), actorName);