added google CSE
This commit is contained in:
		
							parent
							
								
									6eabc3edf4
								
							
						
					
					
						commit
						9ac195ac3b
					
				| @ -939,6 +939,7 @@ class frontend{ | |||||||
| 						"brave" => "Brave", | 						"brave" => "Brave", | ||||||
| 						"yandex" => "Yandex", | 						"yandex" => "Yandex", | ||||||
| 						"google" => "Google", | 						"google" => "Google", | ||||||
|  | 						"google_cse" => "Google CSE", | ||||||
| 						"startpage" => "Startpage", | 						"startpage" => "Startpage", | ||||||
| 						"qwant" => "Qwant", | 						"qwant" => "Qwant", | ||||||
| 						"ghostery" => "Ghostery", | 						"ghostery" => "Ghostery", | ||||||
| @ -963,6 +964,7 @@ class frontend{ | |||||||
| 						"yandex" => "Yandex", | 						"yandex" => "Yandex", | ||||||
| 						"brave" => "Brave", | 						"brave" => "Brave", | ||||||
| 						"google" => "Google", | 						"google" => "Google", | ||||||
|  | 						"google_cse" => "Google CSE", | ||||||
| 						"startpage" => "Startpage", | 						"startpage" => "Startpage", | ||||||
| 						"qwant" => "Qwant", | 						"qwant" => "Qwant", | ||||||
| 						"yep" => "Yep", | 						"yep" => "Yep", | ||||||
| @ -1326,7 +1328,7 @@ class frontend{ | |||||||
| 			return htmlspecialchars($image); | 			return htmlspecialchars($image); | ||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
| 		return "/proxy?i=" . urlencode($image) . "&s=" . $format; | 		return "/proxy.php?i=" . urlencode($image) . "&s=" . $format; | ||||||
| 	} | 	} | ||||||
| 	 | 	 | ||||||
| 	public function htmlnextpage($gets, $npt, $page){ | 	public function htmlnextpage($gets, $npt, $page){ | ||||||
|  | |||||||
							
								
								
									
										1008
									
								
								scraper/google_cse.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1008
									
								
								scraper/google_cse.php
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lolcat
						lolcat