forked from Icycoide/searxng
[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
This commit is contained in:
parent
7420706a50
commit
8bff73c9b6
4 changed files with 8 additions and 9 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue