Fixed Score searching for actors infinitely.
This commit is contained in:
parent
96e027b4e3
commit
10d2ba78d0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue