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