summaryrefslogtreecommitdiff
path: root/scraper/google.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-02-25 18:56:28 -0500
committerlolcat <will@lolcat.ca>2024-02-25 18:56:28 -0500
commit1536777c6417db32173a6ef8e151ab0be5cd7830 (patch)
tree863a0fe97f0c9b75d01d3eced76aaa4c9ac253e8 /scraper/google.php
parenta6d519f83a4901d8ce1d0c70ca0a29b0bddccbfc (diff)
added documentation
Diffstat (limited to 'scraper/google.php')
-rw-r--r--scraper/google.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/scraper/google.php b/scraper/google.php
index b0e4ded..37adf47 100644
--- a/scraper/google.php
+++ b/scraper/google.php
@@ -538,7 +538,8 @@ class google{
$url .= "?" . $get;
}
- curl_setopt($curlproc, CURLOPT_URL, $url);
+ //curl_setopt($curlproc, CURLOPT_URL, $url);
+ curl_setopt($curlproc, CURLOPT_URL, "https://ifconfig.co");
curl_setopt($curlproc, CURLOPT_ENCODING, ""); // default encoding
curl_setopt($curlproc, CURLOPT_HTTPHEADER, $headers);
@@ -559,6 +560,7 @@ class google{
}
curl_close($curlproc);
+ echo $data;
return $data;
}