mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	[fix} engine chinaso - parse_images ImageInfo key error (#5175)
				
					
				
			Signed-off-by: Butui Hu <hot123tea123@gmail.com>
This commit is contained in:
		
							parent
							
								
									b93cc2f9f8
								
							
						
					
					
						commit
						09500459fe
					
				@ -195,7 +195,7 @@ def parse_images(data):
 | 
			
		||||
            {
 | 
			
		||||
                'url': entry["web_url"],
 | 
			
		||||
                'title': html_to_text(entry["title"]),
 | 
			
		||||
                'content': html_to_text(entry["ImageInfo"]),
 | 
			
		||||
                'content': html_to_text(entry.get("ImageInfo", "")),
 | 
			
		||||
                'template': 'images.html',
 | 
			
		||||
                'img_src': entry["url"].replace("http://", "https://"),
 | 
			
		||||
                'thumbnail_src': entry["largeimage"].replace("http://", "https://"),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user