mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[mod] image results removed from google engine
This commit is contained in:
		
							parent
							
								
									2538a3ec26
								
							
						
					
					
						commit
						0f4cb32bf1
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		|  | @ -85,10 +85,13 @@ def response(resp): | |||
|                 # remove the link to google news | ||||
|                 continue | ||||
| 
 | ||||
|             # images result | ||||
|             if (parsed_url.netloc == google_hostname | ||||
|                     and parsed_url.path == images_path): | ||||
|                 # images result | ||||
|                 results = results + parse_images(result) | ||||
|                 # only thumbnail image provided, | ||||
|                 # so skipping image results | ||||
|                 # results = results + parse_images(result) | ||||
|                 pass | ||||
|             else: | ||||
|                 # normal result | ||||
|                 content = extract_text(result.xpath(content_xpath)[0]) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber