forked from zaclys/searxng
		
	[fix] qwant engine - only get results from categories
Reported-by: https://github.com/searx/searx/issues/3014 Cherry-picked: https://github.com/searx/searx/commit/3bcca43
This commit is contained in:
		
							parent
							
								
									64df011e2f
								
							
						
					
					
						commit
						4cc1ee8565
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -138,6 +138,9 @@ def response(resp): | ||||||
|     for row in mainline: |     for row in mainline: | ||||||
| 
 | 
 | ||||||
|         mainline_type = row.get('type', 'web') |         mainline_type = row.get('type', 'web') | ||||||
|  |         if mainline_type != keyword: | ||||||
|  |             continue | ||||||
|  | 
 | ||||||
|         if mainline_type == 'ads': |         if mainline_type == 'ads': | ||||||
|             # ignore adds |             # ignore adds | ||||||
|             continue |             continue | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Noémi Ványi
						Noémi Ványi