From 8bff73c9b6312984de4ae7707ae2f796cc3182ff Mon Sep 17 00:00:00 2001 From: Bnyro Date: Wed, 21 May 2025 14:52:16 +0200 Subject: [refactor] icon engines: add new icon category (#4817) Icons category makes sense because it allows to quickly search for free SVG icons to use for websites / other designs with a quick `!icons` query Icons don't seem to fit into the normal images category that well because icons are quite a special type of images --- searx/engines/svgrepo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/engines/svgrepo.py') diff --git a/searx/engines/svgrepo.py b/searx/engines/svgrepo.py index 156f4b2a8..0b821ed64 100644 --- a/searx/engines/svgrepo.py +++ b/searx/engines/svgrepo.py @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Svgrepo (images) +"""Svgrepo (icons) """ from lxml import html @@ -14,7 +14,7 @@ about = { } paging = True -categories = ['images'] +categories = ['images', 'icons'] base_url = "https://www.svgrepo.com" results_xpath = "//div[@class='style_nodeListing__7Nmro']/div" -- cgit v1.2.3