Merge pull request #512 from ZetaTom/fix-qwant

[fix] Qwant search query string
This commit is contained in:
Paul Braeuning 2021-11-17 18:34:18 +01:00 committed by GitHub
commit ae2f6c63f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"""