diff options
| author | lolcat <will@lolcat.ca> | 2026-05-29 21:48:06 -0400 |
|---|---|---|
| committer | lolcat <will@lolcat.ca> | 2026-05-29 21:48:06 -0400 |
| commit | ba2c6f6bb165104365fcc1a5fcbeeb1ec559da10 (patch) | |
| tree | a7bed4790c3a3e79ade14208295b1fa9dca7a9eb | |
| parent | d7d35f02f30f0b113e841ec1278ea446001d095e (diff) | |
fix startpage pagination, again
| -rw-r--r-- | scraper/startpage.php | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/scraper/startpage.php b/scraper/startpage.php index a555dc5..d1f2b41 100644 --- a/scraper/startpage.php +++ b/scraper/startpage.php @@ -1105,29 +1105,20 @@ class startpage{ if($page["name"] == "Next"){ - parse_str( - explode( - "?", - $page["url"], - 2 - )[1], - $str - ); - return $this->backend->store( http_build_query( [ "lui" => "english", "language" => "english", - "sc" => $str["sc"], + "sc" => $json["render"]["search_sc"], "t" => "device", "cat" => $pagetype, - "segment" => "startpage.udog", - "abd" => 0, - "abe" => 0, - "query" => $str["q"], - "page" => $str["page"], + "segment" => "organic", + "abd" => "0", + "abe" => "0", + "query" => $json["render"]["query"], + "page" => $page["number"], "qsr" => "all", "qadf" => "none" // @ todo fix (??) ] |
