mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-03 19:17:07 -05:00 
			
		
		
		
	add profile image to user results
This commit is contained in:
		
							parent
							
								
									b6fd7cd571
								
							
						
					
					
						commit
						c8acd4a3b6
					
				@ -62,7 +62,12 @@ def response(resp):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    for user in json_res['users'].values():
 | 
					    for user in json_res['users'].values():
 | 
				
			||||||
        results.append(
 | 
					        results.append(
 | 
				
			||||||
            {'title': user['name'], 'content': user['description'], 'url': 'https://twitter.com/' + user['screen_name']}
 | 
					            {
 | 
				
			||||||
 | 
					                'title': user['name'],
 | 
				
			||||||
 | 
					                'content': user['description'],
 | 
				
			||||||
 | 
					                'url': 'https://twitter.com/' + user['screen_name'],
 | 
				
			||||||
 | 
					                'img_src': user['profile_image_url_https'],
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return results
 | 
					    return results
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user