mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] Qwant search query string
Search string: "!qwant time" Resulting request URL: https://api.qwant.com/v3/search/web?q=q=time&count=10&offset=0&device=desktop&safesearch=1&locale=en_US Notice the double "q=" Resulting request URL after fix: https://api.qwant.com/v3/search/web?q=time&count=10&offset=0&device=desktop&safesearch=1&locale=en_US
This commit is contained in:
		
							parent
							
								
									08d6680414
								
							
						
					
					
						commit
						e1d60051ca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -59,7 +59,7 @@ category_to_keyword = { | |||
| } | ||||
| 
 | ||||
| # search-url | ||||
| url = 'https://api.qwant.com/v3/search/{keyword}?q={query}&count={count}&offset={offset}' | ||||
| url = 'https://api.qwant.com/v3/search/{keyword}?{query}&count={count}&offset={offset}' | ||||
| 
 | ||||
| def request(query, params): | ||||
|     """Qwant search request""" | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Tom
						Tom