aboutsummaryrefslogtreecommitdiffstats
path: root/scraper
diff options
context:
space:
mode:
Diffstat (limited to 'scraper')
-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