aboutsummaryrefslogtreecommitdiffstats
path: root/scraper/startpage.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2026-05-31 13:42:50 -0400
committerPinapelz <yukais@pinapelz.com>2026-06-01 21:03:47 -0700
commit99064a72a6a350b93c2edf25f80122bf93e8381e (patch)
treede17f502ad440d7eb36261e9e349c78b53ae52c4 /scraper/startpage.php
parent6c9c600e53171c3e3074928ed4bc9262f8d70987 (diff)
startpage pagination fix, fucking again
Diffstat (limited to 'scraper/startpage.php')
-rw-r--r--scraper/startpage.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/scraper/startpage.php b/scraper/startpage.php
index ec70834..0ce0e64 100644
--- a/scraper/startpage.php
+++ b/scraper/startpage.php
@@ -408,6 +408,8 @@ class startpage{
//$html = file_get_contents("scraper/startpage.html");
}
+ //echo htmlspecialchars($html);
+
$this->detect_captcha($html);
if(
@@ -1117,7 +1119,7 @@ class startpage{
"segment" => "organic",
"abd" => "0",
"abe" => "0",
- "query" => $json["render"]["query"],
+ "query" => rawurldecode($json["render"]["query"]),
"page" => $page["number"],
"qsr" => "all",
"qadf" => "none" // @ todo fix (??)
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage