summaryrefslogtreecommitdiff
path: root/searx/engines/wolframalpha_api.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/wolframalpha_api.py')
-rw-r--r--searx/engines/wolframalpha_api.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/searx/engines/wolframalpha_api.py b/searx/engines/wolframalpha_api.py
index 6a2423b51..5670e356f 100644
--- a/searx/engines/wolframalpha_api.py
+++ b/searx/engines/wolframalpha_api.py
@@ -1,11 +1,12 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
-"""
- Wolfram|Alpha (Science)
+"""Wolfram|Alpha (Science)
+
"""
-from lxml import etree
from urllib.parse import urlencode
+from lxml import etree
+
# about
about = {
"website": 'https://www.wolframalpha.com',
@@ -79,7 +80,7 @@ def response(resp):
try:
infobox_title = search_results.xpath(input_xpath)[0].text
- except:
+ except: # pylint: disable=bare-except
infobox_title = ""
pods = search_results.xpath(pods_xpath)