Fix style errors in Qwant engine

This commit is contained in:
Noémi Ványi 2021-10-10 21:13:55 +02:00
parent 263db54aa9
commit a0fb8ebeaf
1 changed files with 8 additions and 7 deletions

View File

@ -61,6 +61,7 @@ category_to_keyword = {
# search-url
url = 'https://api.qwant.com/v3/search/{keyword}?q={query}&count={count}&offset={offset}'
def request(query, params):
"""Qwant search request"""
keyword = category_to_keyword[categories[0]]