diff options
author | Léo Bourrel <leo.bourrel@epitech.eu> | 2018-07-06 10:31:01 +0200 |
---|---|---|
committer | Léo Bourrel <leo.bourrel@epitech.eu> | 2018-07-06 10:31:01 +0200 |
commit | 7a474db61bd9ba9a08111758b058f81cb5175db4 (patch) | |
tree | a439e97dd8d02916ca95284d143e06512b36ead4 /searx/engines/wikidata.py | |
parent | acaef6600e34159d2edb7bf0ef6b5f34471136e1 (diff) | |
download | searxng-7a474db61bd9ba9a08111758b058f81cb5175db4.tar.gz searxng-7a474db61bd9ba9a08111758b058f81cb5175db4.zip |
Fix formatting
Diffstat (limited to 'searx/engines/wikidata.py')
-rw-r--r-- | searx/engines/wikidata.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/wikidata.py b/searx/engines/wikidata.py index ffc1c8d0f..c315b30da 100644 --- 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})) |