summaryrefslogtreecommitdiff
path: root/searx/engines/svgrepo.py
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2025-05-21 14:52:16 +0200
committerGitHub <noreply@github.com>2025-05-21 14:52:16 +0200
commit8bff73c9b6312984de4ae7707ae2f796cc3182ff (patch)
tree40c45eb21a30e0cce2abbc27520490d0f3e8645b /searx/engines/svgrepo.py
parent7420706a5074803a78f3c795cf79427746e504e0 (diff)
[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
Diffstat (limited to 'searx/engines/svgrepo.py')
-rw-r--r--searx/engines/svgrepo.py4
1 files changed, 2 insertions, 2 deletions
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"