hopefully this fixes bing images my fucking god
This commit is contained in:
		
							parent
							
								
									4b85841a3e
								
							
						
					
					
						commit
						b85820cbcd
					
				| @ -87,7 +87,7 @@ try{ | ||||
| 			case "cover": $req = "?w=207&h=270&p=0&qlt=90"; break; | ||||
| 		} | ||||
| 		 | ||||
| 		$proxy->stream_linear_image("https://" . $image["host"] . "/th/id/" . urlencode($id) . $req, "https://www.bing.com"); | ||||
| 		$proxy->stream_linear_image("https://" . $image["host"] . "/th?id=" . rawurlencode($id) . $req, "https://www.bing.com"); | ||||
| 		die(); | ||||
| 	} | ||||
| 	 | ||||
|  | ||||
| @ -1969,7 +1969,7 @@ class ddg{ | ||||
| 			$id = $id[1]; | ||||
| 		} | ||||
| 		 | ||||
| 		return "https://" . $image["host"] . "/th/id/" . $id; | ||||
| 		return "https://" . $image["host"] . "/th?id=" . rawurlencode($id); | ||||
| 	} | ||||
| 	 | ||||
| 	private function bingratio($width, $height){ | ||||
|  | ||||
| @ -988,6 +988,6 @@ class qwant{ | ||||
| 			return $url; | ||||
| 		} | ||||
| 		 | ||||
| 		return "https://" . $image["host"] . "/th/id/" . $id; | ||||
| 		return "https://" . $image["host"] . "/th?id=" . rawurlencode($id); | ||||
| 	} | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lolcat
						lolcat