aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scraper/google_api.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/scraper/google_api.php b/scraper/google_api.php
index 899726b..6dbc25a 100644
--- a/scraper/google_api.php
+++ b/scraper/google_api.php
@@ -716,10 +716,8 @@ class google_api{
// get npt
if(isset($json["queries"]["nextPage"][0]["startIndex"])){
- $filters["start"] = (int)$json["queries"]["nextPage"][0]["startIndex"];
-
unset($params["key"]);
- $params["start"] += 10;
+ $params["start"] = (int)$json["queries"]["nextPage"][0]["startIndex"];
$out["npt"] =
$this->backend->store(
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage