1
0
mirror of https://github.com/searx/searx synced 2024-12-05 08:30:55 +01:00

Fix formatting

This commit is contained in:
Léo Bourrel 2018-07-06 10:31:01 +02:00
parent acaef6600e
commit 7a474db61b

View File

@ -56,6 +56,7 @@ language_fallback_xpath = '//sup[contains(@class,"wb-language-fallback-indicator
calendar_name_xpath = './/sup[contains(@class,"wb-calendar-name")]'
media_xpath = value_xpath + '//div[contains(@class,"commons-media-caption")]//a'
def request(query, params):
params['url'] = url_search.format(
query=urlencode({'search': query}))