mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] engine - moviepilot instead of thumbnail use img_src
Instead of thumbnail use img_src in the result item, otherwise the "movies"
categories looks clunky.
Related:
- b4e0d2eedc (r128785388)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
			
			
This commit is contained in:
		
							parent
							
								
									159629c588
								
							
						
					
					
						commit
						e1a8b8189f
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -105,11 +105,11 @@ def response(resp): | |||
|             item['metadata'] = html_to_text(result.get('meta_short', '')) | ||||
| 
 | ||||
|             if result.get('image'): | ||||
|                 item['thumbnail'] = image_url.format(image_id=result['image'], filename=result['image_filename']) | ||||
|                 item['img_src'] = image_url.format(image_id=result['image'], filename=result['image_filename']) | ||||
|         else: | ||||
|             item['url'] = result['url'] | ||||
|             item['content'] = ', '.join([result['class'], result['info'], result['more']]) | ||||
|             item['thumbnail'] = result['image'] | ||||
|             item['img_src'] = result['image'] | ||||
| 
 | ||||
|         results.append(item) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser