summaryrefslogtreecommitdiff
path: root/utils/searxng.sh
diff options
context:
space:
mode:
authorGrant Lanham <contact@grantlanham.com>2024-08-19 23:02:06 -0400
committerMarkus Heiser <markus.heiser@darmarIT.de>2024-08-21 08:41:53 +0200
commit5276219b9d790baeeb505813bb76d0dffa1d2d51 (patch)
tree8b70c30e493d4a7454ca642b5d98cf347a4a1f42 /utils/searxng.sh
parent5be55e3309761842e070f48580a519499cfc8ceb (diff)
downloadsearxng-5276219b9d790baeeb505813bb76d0dffa1d2d51.tar.gz
searxng-5276219b9d790baeeb505813bb76d0dffa1d2d51.zip
Fix tineye engine url, datetime parsing, and minor refactor
Changes made to tineye engine: 1. Importing logging if TYPE_CHECKING is enabled 2. Remove unecessary try-catch around json parsing the response, as this masked the original error and had no immediate benefit 3. Improve error handling explicitely for status code 422 and 400 upfront, deferring json_parsing only for these status codes and successful status codes 4. Unit test all new applicable changes to ensure compatability
Diffstat (limited to 'utils/searxng.sh')
0 files changed, 0 insertions, 0 deletions