From 1536777c6417db32173a6ef8e151ab0be5cd7830 Mon Sep 17 00:00:00 2001 From: lolcat Date: Sun, 25 Feb 2024 18:56:28 -0500 Subject: added documentation --- scraper/google.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scraper/google.php') 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; } -- cgit v1.2.3