logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git
commit: 7a474db61bd9ba9a08111758b058f81cb5175db4
parent acaef6600e34159d2edb7bf0ef6b5f34471136e1
Author: Léo Bourrel <leo.bourrel@epitech.eu>
Date:   Fri,  6 Jul 2018 10:31:01 +0200

Fix formatting


Diffstat:

Msearx/engines/wikidata.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.py @@ -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}))