forked from zaclys/searxng
[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
|
@ -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…
Reference in New Issue