summaryrefslogtreecommitdiff
path: root/proxy.php
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-08-13 23:35:08 -0400
committerlolcat <will@lolcat.ca>2023-08-13 23:35:08 -0400
commitb57b2d71180d4f833d34d11b8de251db9a17e7d6 (patch)
treec6e219fa470dfbc94abe560efb5a44fd676ca631 /proxy.php
parent6f896221f0068fa9c4718a7bbc1b596ba73b9550 (diff)
ill need to rewrite the google scraper, but hey atleast we got imagesearch working woooo
Diffstat (limited to 'proxy.php')
-rw-r--r--proxy.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/proxy.php b/proxy.php
index bcf552e..b49fafd 100644
--- a/proxy.php
+++ b/proxy.php
@@ -32,11 +32,11 @@ try{
switch($_GET["s"]){
- case "portrait": $req = "&w=50&h=90&p=0&qlt=99"; break;
- case "landscape": $req = "&w=160&h=90&p=0&qlt=99"; break;
- case "square": $req = "&w=90&h=90&p=0&qlt=99"; break;
- case "thumb": $req = "&w=236&h=180&p=0&qlt=99"; break;
- case "cover": $req = "&w=207&h=270&p=0&qlt=99"; break;
+ case "portrait": $req = "&w=50&h=90&p=0&qlt=90"; break;
+ case "landscape": $req = "&w=160&h=90&p=0&qlt=90"; break;
+ case "square": $req = "&w=90&h=90&p=0&qlt=90"; break;
+ case "thumb": $req = "&w=236&h=180&p=0&qlt=90"; break;
+ case "cover": $req = "&w=207&h=270&p=0&qlt=90"; break;
}
$proxy->stream_linear_image($_GET["i"] . $req, "https://bing.net");