diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-03-11 07:45:08 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-03-11 14:55:38 +0100 |
commit | 8205f170ff983e5240d32dc17d7fdb526ebe5fe7 (patch) | |
tree | 536acda827bcdd1a6668714855e6f6c3ba6b68d4 /searx/engines/wolframalpha_api.py | |
parent | 707d6270c80426b54aeaa0ac0acd80ded45df533 (diff) | |
download | searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.tar.gz searxng-8205f170ff983e5240d32dc17d7fdb526ebe5fe7.zip |
[mod] pylint all engines without PYLINT_SEARXNG_DISABLE_OPTION
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/engines/wolframalpha_api.py')
-rw-r--r-- | searx/engines/wolframalpha_api.py | 9 |
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) |