Fixes synced
YEP API Fix (caa9a6c516) Startpage Pagination Fix (572730415a)
This commit is contained in:
parent
cc863f508e
commit
2f2a6ca7ed
2 changed files with 4 additions and 2 deletions
|
|
@ -407,6 +407,8 @@ class startpage{
|
|||
|
||||
//$html = file_get_contents("scraper/startpage.html");
|
||||
}
|
||||
|
||||
//echo htmlspecialchars($html);
|
||||
|
||||
$this->detect_captcha($html);
|
||||
|
||||
|
|
@ -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 (??)
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@ class yep{
|
|||
// parse filters
|
||||
$filters = [
|
||||
"query" => $search,
|
||||
"limit" => 100
|
||||
"limit" => 99 // for some reason they dont show anything sometimes at 100 results
|
||||
];
|
||||
|
||||
if($get["nsfw"] == "no"){ $filters["safe_search"] = true; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue