From 10d2ba78d0be4f1a2cdaf32b0c1a8d75f8ff3a75 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Sun, 2 Feb 2020 15:26:24 +0100 Subject: [PATCH] Fixed Score searching for actors infinitely. --- src/scrapers/score.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scrapers/score.js b/src/scrapers/score.js index ade041f7..582f9ca8 100644 --- a/src/scrapers/score.js +++ b/src/scrapers/score.js @@ -178,7 +178,9 @@ async function fetchProfile(actorName, scraperSlug, page = 1) { const letter = actorName.charAt(0).toUpperCase(); 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) { const actorUrl = scrapeModels(res.body.toString(), actorName);