SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[upd] pypi: Bump black from 24.3.0 to 25.9.0 (#5251)
Markus Heiser81cbe0befe99
diff --git a/requirements-dev.txt b/requirements-dev.txtindex bb8f8e1af..736518819 100644--- a/requirements-dev.txt+++ b/requirements-dev.txt@@ -1,7 +1,7 @@mock==5.2.0nose2[coverage_plugin]==0.15.1cov-core==1.15.0-black==24.3.0+black==25.9.0pylint==3.3.8splinter==0.21.0selenium==4.35.0diff --git a/searx/autocomplete.py b/searx/autocomplete.pyindex f887e5c56..fabd8be24 100644--- a/searx/autocomplete.py+++ b/searx/autocomplete.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""This module implements functions needed for the autocompleter.--"""+"""This module implements functions needed for the autocompleter."""# pylint: disable=use-dict-literalimport jsondiff --git a/searx/data/__init__.py b/searx/data/__init__.pyindex 3f9a42e7d..fc3031680 100644--- a/searx/data/__init__.py+++ b/searx/data/__init__.py@@ -1,7 +1,7 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""This module holds the *data* created by::- make data.all+make data.all"""# pylint: disable=invalid-namediff --git a/searx/engines/1337x.py b/searx/engines/1337x.pyindex f9a0d0412..d6f515dc4 100644--- a/searx/engines/1337x.py+++ b/searx/engines/1337x.py@@ -1,8 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later# pylint: disable=invalid-name-"""1337x--"""+"""1337x"""from urllib.parse import quote, urljoinfrom lxml import htmldiff --git a/searx/engines/ahmia.py b/searx/engines/ahmia.pyindex 7c8bb5868..589f38e57 100644--- a/searx/engines/ahmia.py+++ b/searx/engines/ahmia.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Ahmia (Onions)+Ahmia (Onions)"""from urllib.parse import urlencode, urlparse, parse_qsdiff --git a/searx/engines/apkmirror.py b/searx/engines/apkmirror.pyindex d9f291c4f..4dc5be8f0 100644--- a/searx/engines/apkmirror.py+++ b/searx/engines/apkmirror.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""APKMirror-"""+"""APKMirror"""# pylint: disable=invalid-namediff --git a/searx/engines/apple_app_store.py b/searx/engines/apple_app_store.pyindex 7817848ff..b69d11445 100644--- a/searx/engines/apple_app_store.py+++ b/searx/engines/apple_app_store.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Apple App Store--"""+"""Apple App Store"""from json import loadsfrom urllib.parse import urlencodediff --git a/searx/engines/base.py b/searx/engines/base.pyindex 328a1fc07..900f46a9b 100755--- a/searx/engines/base.py+++ b/searx/engines/base.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""BASE (Scholar publications)--"""+"""BASE (Scholar publications)"""from datetime import datetimeimport rediff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.pyindex 7d35e1046..d56129707 100644--- a/searx/engines/bing_images.py+++ b/searx/engines/bing_images.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Bing-Images: description see :py:obj:`searx.engines.bing`.-"""+"""Bing-Images: description see :py:obj:`searx.engines.bing`."""# pylint: disable=invalid-nameimport jsonfrom urllib.parse import urlencodediff --git a/searx/engines/bing_videos.py b/searx/engines/bing_videos.pyindex 288805d3d..cfa129791 100644--- a/searx/engines/bing_videos.py+++ b/searx/engines/bing_videos.py@@ -1,7 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later# pylint: disable=invalid-name-"""Bing-Videos: description see :py:obj:`searx.engines.bing`.-"""+"""Bing-Videos: description see :py:obj:`searx.engines.bing`."""import jsonfrom urllib.parse import urlencodediff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.pyindex 5743f4142..c5254fcf4 100644--- a/searx/engines/btdigg.py+++ b/searx/engines/btdigg.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- BTDigg (Videos, Music, Files)+BTDigg (Videos, Music, Files)"""from urllib.parse import quote, urljoindiff --git a/searx/engines/chefkoch.py b/searx/engines/chefkoch.pyindex 504b45152..8e4cfa454 100644--- a/searx/engines/chefkoch.py+++ b/searx/engines/chefkoch.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Chefkoch is a German database of recipes.-"""+"""Chefkoch is a German database of recipes."""from datetime import datetimefrom urllib.parse import urlencodediff --git a/searx/engines/cppreference.py b/searx/engines/cppreference.pyindex 5ffbf6e59..5d021fe66 100644--- a/searx/engines/cppreference.py+++ b/searx/engines/cppreference.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Cppreference-"""+"""Cppreference"""from lxml import htmlfrom searx.utils import eval_xpathdiff --git a/searx/engines/deezer.py b/searx/engines/deezer.pyindex f4a4783ea..1314f1533 100644--- a/searx/engines/deezer.py+++ b/searx/engines/deezer.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Deezer (Music)+Deezer (Music)"""from json import loadsdiff --git a/searx/engines/destatis.py b/searx/engines/destatis.pyindex 9e5355c6f..e9ac5deae 100644--- a/searx/engines/destatis.py+++ b/searx/engines/destatis.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""DeStatis-"""+"""DeStatis"""from urllib.parse import urlencodefrom lxml import htmldiff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.pyindex b19813a35..cf7692890 100644--- a/searx/engines/deviantart.py+++ b/searx/engines/deviantart.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Deviantart (Images)--"""+"""Deviantart (Images)"""import urllib.parsefrom lxml import htmldiff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.pyindex d393eae92..aa6c4806c 100644--- a/searx/engines/dictzone.py+++ b/searx/engines/dictzone.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Dictzone+Dictzone"""import urllib.parsediff --git a/searx/engines/digbt.py b/searx/engines/digbt.pyindex fd3d1fb16..cbe2e170b 100644--- a/searx/engines/digbt.py+++ b/searx/engines/digbt.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- DigBT (Videos, Music, Files)+DigBT (Videos, Music, Files)"""from urllib.parse import urljoindiff --git a/searx/engines/docker_hub.py b/searx/engines/docker_hub.pyindex 021c05827..dc1d1ddfa 100644--- a/searx/engines/docker_hub.py+++ b/searx/engines/docker_hub.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Docker Hub (IT)--"""+"""Docker Hub (IT)"""# pylint: disable=use-dict-literalfrom urllib.parse import urlencodediff --git a/searx/engines/doku.py b/searx/engines/doku.pyindex 43e6a4a9a..d4a36f7af 100644--- a/searx/engines/doku.py+++ b/searx/engines/doku.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Doku Wiki+Doku Wiki"""from urllib.parse import urlencodediff --git a/searx/engines/duden.py b/searx/engines/duden.pyindex 94dff71ef..c2e758d6f 100644--- a/searx/engines/duden.py+++ b/searx/engines/duden.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Duden--"""+"""Duden"""import refrom urllib.parse import quote, urljoindiff --git a/searx/engines/dummy-offline.py b/searx/engines/dummy-offline.pyindex 545c947ff..4e9d8b202 100644--- a/searx/engines/dummy-offline.py+++ b/searx/engines/dummy-offline.py@@ -1,8 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later# pylint: disable=invalid-name-"""Dummy Offline--"""+"""Dummy Offline"""# aboutdiff --git a/searx/engines/dummy.py b/searx/engines/dummy.pyindex 2d4301b42..e10f90436 100644--- a/searx/engines/dummy.py+++ b/searx/engines/dummy.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Dummy--"""+"""Dummy"""# aboutabout = {diff --git a/searx/engines/ebay.py b/searx/engines/ebay.pyindex f1d09d878..365c5b5cc 100644--- a/searx/engines/ebay.py+++ b/searx/engines/ebay.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Ebay (Videos, Music, Files)+Ebay (Videos, Music, Files)"""from urllib.parse import quotediff --git a/searx/engines/fdroid.py b/searx/engines/fdroid.pyindex 6a6bf63cb..144a47032 100644--- a/searx/engines/fdroid.py+++ b/searx/engines/fdroid.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- F-Droid (a repository of FOSS applications for Android)+F-Droid (a repository of FOSS applications for Android)"""from urllib.parse import urlencodediff --git a/searx/engines/flickr.py b/searx/engines/flickr.pyindex 89c3b8cfd..3edfd9997 100644--- a/searx/engines/flickr.py+++ b/searx/engines/flickr.py@@ -1,8 +1,8 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Flickr (Images)+Flickr (Images)- More info on api-key : https://www.flickr.com/services/apps/create/+More info on api-key : https://www.flickr.com/services/apps/create/"""from json import loadsdiff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.pyindex e98fd0b1a..e7b8ffaf4 100644--- a/searx/engines/flickr_noapi.py+++ b/searx/engines/flickr_noapi.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Flickr (Images)--"""+"""Flickr (Images)"""import jsonfrom time import timediff --git a/searx/engines/frinkiac.py b/searx/engines/frinkiac.pyindex 95a1366de..68894ea31 100644--- a/searx/engines/frinkiac.py+++ b/searx/engines/frinkiac.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Frinkiac (Images)+Frinkiac (Images)"""from json import loadsdiff --git a/searx/engines/fyyd.py b/searx/engines/fyyd.pyindex 3810e5e81..782fd0208 100644--- a/searx/engines/fyyd.py+++ b/searx/engines/fyyd.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Fyyd (podcasts)-"""+"""Fyyd (podcasts)"""from datetime import datetimefrom urllib.parse import urlencodediff --git a/searx/engines/genius.py b/searx/engines/genius.pyindex 24ab91386..0ef82c541 100644--- a/searx/engines/genius.py+++ b/searx/engines/genius.py@@ -1,8 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later# pylint: disable=invalid-name-"""Genius--"""+"""Genius"""from urllib.parse import urlencodefrom datetime import datetimediff --git a/searx/engines/github.py b/searx/engines/github.pyindex 714cb5ca3..0016ea1d8 100644--- a/searx/engines/github.py+++ b/searx/engines/github.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Github (IT)--"""+"""Github (IT)"""from urllib.parse import urlencodefrom dateutil import parserdiff --git a/searx/engines/goodreads.py b/searx/engines/goodreads.pyindex c4b7bb5b1..c1d19eece 100644--- a/searx/engines/goodreads.py+++ b/searx/engines/goodreads.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Goodreads (books)-"""+"""Goodreads (books)"""from urllib.parse import urlencodediff --git a/searx/engines/google_play.py b/searx/engines/google_play.pyindex 9853a4911..8135161a1 100644--- a/searx/engines/google_play.py+++ b/searx/engines/google_play.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Google Play Apps & Google Play Movies-"""+"""Google Play Apps & Google Play Movies"""from urllib.parse import urlencodefrom lxml import htmldiff --git a/searx/engines/hackernews.py b/searx/engines/hackernews.pyindex 46c8cae8d..3b0dd2d87 100644--- a/searx/engines/hackernews.py+++ b/searx/engines/hackernews.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Hackernews-"""+"""Hackernews"""from datetime import datetimefrom urllib.parse import urlencodediff --git a/searx/engines/imgur.py b/searx/engines/imgur.pyindex 7a4793c58..ff7bdffdb 100644--- a/searx/engines/imgur.py+++ b/searx/engines/imgur.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Imgur (images)-"""+"""Imgur (images)"""from urllib.parse import urlencodefrom lxml import htmldiff --git a/searx/engines/ina.py b/searx/engines/ina.pyindex e5fba20bb..45f871941 100644--- a/searx/engines/ina.py+++ b/searx/engines/ina.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- INA (Videos)+INA (Videos)"""from html import unescapediff --git a/searx/engines/mediathekviewweb.py b/searx/engines/mediathekviewweb.pyindex 6d2331a3d..8baa20bdb 100644--- a/searx/engines/mediathekviewweb.py+++ b/searx/engines/mediathekviewweb.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""MediathekViewWeb (API)--"""+"""MediathekViewWeb (API)"""import datetimefrom json import loads, dumpsdiff --git a/searx/engines/metacpan.py b/searx/engines/metacpan.pyindex 32bc55b89..a0f9c6f7a 100644--- a/searx/engines/metacpan.py+++ b/searx/engines/metacpan.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""metacpan-"""+"""metacpan"""from urllib.parse import urlunparsediff --git a/searx/engines/mixcloud.py b/searx/engines/mixcloud.pyindex 006d59578..af9ad1890 100644--- a/searx/engines/mixcloud.py+++ b/searx/engines/mixcloud.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Mixcloud (Music)--"""+"""Mixcloud (Music)"""from urllib.parse import urlencodefrom dateutil import parserdiff --git a/searx/engines/npm.py b/searx/engines/npm.pyindex ac21a62b8..c2d4284d1 100644--- a/searx/engines/npm.py+++ b/searx/engines/npm.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""npms.io--"""+"""npms.io"""from urllib.parse import urlencodefrom dateutil import parserdiff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.pyindex f3862f503..47c172aae 100644--- a/searx/engines/nyaa.py+++ b/searx/engines/nyaa.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Nyaa.si (Anime Bittorrent tracker)--"""+"""Nyaa.si (Anime Bittorrent tracker)"""from urllib.parse import urlencodediff --git a/searx/engines/opensemantic.py b/searx/engines/opensemantic.pyindex 03b01df43..c5785215f 100644--- a/searx/engines/opensemantic.py+++ b/searx/engines/opensemantic.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Open Semantic Search--"""+"""Open Semantic Search"""from json import loadsfrom urllib.parse import quotediff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.pyindex 64ed6809b..9a77992db 100644--- a/searx/engines/openstreetmap.py+++ b/searx/engines/openstreetmap.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""OpenStreetMap (Map)--"""+"""OpenStreetMap (Map)"""import reimport urllib.parsediff --git a/searx/engines/openverse.py b/searx/engines/openverse.pyindex dc1ee1ac4..6d66d762d 100644--- a/searx/engines/openverse.py+++ b/searx/engines/openverse.py@@ -1,7 +1,7 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Openverse (formerly known as: Creative Commons search engine) [Images]+Openverse (formerly known as: Creative Commons search engine) [Images]"""diff --git a/searx/engines/pdbe.py b/searx/engines/pdbe.pyindex ae76a7290..6dcb56169 100644--- a/searx/engines/pdbe.py+++ b/searx/engines/pdbe.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- PDBe (Protein Data Bank in Europe)+PDBe (Protein Data Bank in Europe)"""from json import loadsdiff --git a/searx/engines/photon.py b/searx/engines/photon.pyindex 07fcfdf31..ee45af7c6 100644--- a/searx/engines/photon.py+++ b/searx/engines/photon.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Photon (Map)+Photon (Map)"""from json import loadsdiff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.pyindex e1f3f611a..2db783356 100644--- a/searx/engines/piratebay.py+++ b/searx/engines/piratebay.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Piratebay (Videos, Music, Files)+Piratebay (Videos, Music, Files)"""from json import loadsdiff --git a/searx/engines/podcastindex.py b/searx/engines/podcastindex.pyindex 9e04a6f78..e9a927838 100644--- a/searx/engines/podcastindex.py+++ b/searx/engines/podcastindex.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Podcast Index-"""+"""Podcast Index"""from urllib.parse import quote_plusfrom datetime import datetimediff --git a/searx/engines/pypi.py b/searx/engines/pypi.pyindex 7ebb254f3..f2069126d 100644--- a/searx/engines/pypi.py+++ b/searx/engines/pypi.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""pypi.org--"""+"""pypi.org"""from urllib.parse import urlencodefrom dateutil import parserdiff --git a/searx/engines/reddit.py b/searx/engines/reddit.pyindex 263b70b73..1a44594ed 100644--- a/searx/engines/reddit.py+++ b/searx/engines/reddit.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later--"""+"""Reddit"""import jsonfrom datetime import datetimediff --git a/searx/engines/rottentomatoes.py b/searx/engines/rottentomatoes.pyindex 131abfaa3..d07504b50 100644--- a/searx/engines/rottentomatoes.py+++ b/searx/engines/rottentomatoes.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""RottenTomatoes (movies)-"""+"""RottenTomatoes (movies)"""from urllib.parse import quote_plusfrom lxml import htmldiff --git a/searx/engines/rumble.py b/searx/engines/rumble.pyindex 5267e04c0..8f84aa269 100644--- a/searx/engines/rumble.py+++ b/searx/engines/rumble.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Rumble (Videos)--"""+"""Rumble (Videos)"""from datetime import datetimediff --git a/searx/engines/scanr_structures.py b/searx/engines/scanr_structures.pyindex 7a5415e54..a3e27f58c 100644--- a/searx/engines/scanr_structures.py+++ b/searx/engines/scanr_structures.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- ScanR Structures (Science)+ScanR Structures (Science)"""from json import loads, dumpsdiff --git a/searx/engines/searx_engine.py b/searx/engines/searx_engine.pyindex 156001997..1a67743f4 100644--- a/searx/engines/searx_engine.py+++ b/searx/engines/searx_engine.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Searx (all)+Searx (all)"""from json import loadsdiff --git a/searx/engines/senscritique.py b/searx/engines/senscritique.pyindex cf1765624..f4dd972ea 100644--- a/searx/engines/senscritique.py+++ b/searx/engines/senscritique.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""SensCritique (movies)-"""+"""SensCritique (movies)"""import typing as tdiff --git a/searx/engines/seznam.py b/searx/engines/seznam.pyindex d480956bd..c7e0fe75f 100644--- a/searx/engines/seznam.py+++ b/searx/engines/seznam.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Seznam--"""+"""Seznam"""from urllib.parse import urlencodefrom lxml import htmldiff --git a/searx/engines/solidtorrents.py b/searx/engines/solidtorrents.pyindex c2f7e435e..9a3608a87 100644--- a/searx/engines/solidtorrents.py+++ b/searx/engines/solidtorrents.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""SolidTorrents--"""+"""SolidTorrents"""from datetime import datetimefrom urllib.parse import urlencodediff --git a/searx/engines/spotify.py b/searx/engines/spotify.pyindex 3b86328b7..67d570bd2 100644--- a/searx/engines/spotify.py+++ b/searx/engines/spotify.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Spotify (Music)--"""+"""Spotify (Music)"""from json import loadsfrom urllib.parse import urlencodediff --git a/searx/engines/svgrepo.py b/searx/engines/svgrepo.pyindex 0b821ed64..10ee92d39 100644--- a/searx/engines/svgrepo.py+++ b/searx/engines/svgrepo.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Svgrepo (icons)-"""+"""Svgrepo (icons)"""from lxml import htmlfrom searx.utils import extract_text, eval_xpath, eval_xpath_listdiff --git a/searx/engines/tokyotoshokan.py b/searx/engines/tokyotoshokan.pyindex ad0be1985..b53d78eb3 100644--- a/searx/engines/tokyotoshokan.py+++ b/searx/engines/tokyotoshokan.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Tokyo Toshokan (A BitTorrent Library for Japanese Media)--"""+"""Tokyo Toshokan (A BitTorrent Library for Japanese Media)"""import refrom datetime import datetimediff --git a/searx/engines/tootfinder.py b/searx/engines/tootfinder.pyindex 806a7d688..bbfb7e4a0 100644--- a/searx/engines/tootfinder.py+++ b/searx/engines/tootfinder.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Tootfinder (social media)-"""+"""Tootfinder (social media)"""from datetime import datetimefrom json import loadsdiff --git a/searx/engines/translated.py b/searx/engines/translated.pyindex 08808cfd2..57f00bcff 100644--- a/searx/engines/translated.py+++ b/searx/engines/translated.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""MyMemory Translated--"""+"""MyMemory Translated"""import urllib.parsediff --git a/searx/engines/unsplash.py b/searx/engines/unsplash.pyindex cfffdd4e3..337c8a710 100644--- a/searx/engines/unsplash.py+++ b/searx/engines/unsplash.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Unsplash--"""+"""Unsplash"""from urllib.parse import urlencode, urlparse, urlunparse, parse_qslfrom json import loadsdiff --git a/searx/engines/vimeo.py b/searx/engines/vimeo.pyindex d46468d8d..6d1420679 100644--- a/searx/engines/vimeo.py+++ b/searx/engines/vimeo.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Wikipedia (Web+Wikipedia (Web"""from urllib.parse import urlencodediff --git a/searx/engines/wikicommons.py b/searx/engines/wikicommons.pyindex 214881bed..718cd45d5 100644--- a/searx/engines/wikicommons.py+++ b/searx/engines/wikicommons.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Wikimedia Commons (images)--"""+"""Wikimedia Commons (images)"""import datetimediff --git a/searx/engines/wolframalpha_api.py b/searx/engines/wolframalpha_api.pyindex 60892d4d8..c3483307e 100644--- a/searx/engines/wolframalpha_api.py+++ b/searx/engines/wolframalpha_api.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Wolfram|Alpha (Science)--"""+"""Wolfram|Alpha (Science)"""from urllib.parse import urlencodediff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.pyindex 279d47a3d..c001b5c06 100644--- a/searx/engines/wolframalpha_noapi.py+++ b/searx/engines/wolframalpha_noapi.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Wolfram|Alpha (Science)+Wolfram|Alpha (Science)"""diff --git a/searx/engines/www1x.py b/searx/engines/www1x.pyindex 0d4b6b799..9c5f01e3a 100644--- a/searx/engines/www1x.py+++ b/searx/engines/www1x.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""1x (Images)--"""+"""1x (Images)"""from urllib.parse import urlencode, urljoinfrom lxml import html, etreediff --git a/searx/engines/yep.py b/searx/engines/yep.pyindex a5c705533..726f62c0d 100644--- a/searx/engines/yep.py+++ b/searx/engines/yep.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Yep (general, images, news)-"""+"""Yep (general, images, news)"""from datetime import datetimefrom urllib.parse import urlencodediff --git a/searx/engines/youtube_api.py b/searx/engines/youtube_api.pyindex 4192530b9..ebecd5432 100644--- a/searx/engines/youtube_api.py+++ b/searx/engines/youtube_api.py@@ -1,6 +1,6 @@# SPDX-License-Identifier: AGPL-3.0-or-later"""- Youtube (Videos)+Youtube (Videos)"""from json import loadsdiff --git a/searx/engines/youtube_noapi.py b/searx/engines/youtube_noapi.pyindex c2136c3ca..51372397c 100644--- a/searx/engines/youtube_noapi.py+++ b/searx/engines/youtube_noapi.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Youtube (Videos)--"""+"""Youtube (Videos)"""from functools import reducefrom json import loads, dumpsdiff --git a/searx/exceptions.py b/searx/exceptions.pyindex 6b150929e..226b209ca 100644--- a/searx/exceptions.py+++ b/searx/exceptions.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Exception types raised by SearXNG modules.-"""+"""Exception types raised by SearXNG modules."""import typing as tfrom lxml.etree import XPathdiff --git a/searx/network/raise_for_httperror.py b/searx/network/raise_for_httperror.pyindex 1a9e3d0d2..d50e650e2 100644--- a/searx/network/raise_for_httperror.py+++ b/searx/network/raise_for_httperror.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Raise exception for an HTTP response is an error.--"""+"""Raise exception for an HTTP response is an error."""import typing as tfrom searx.exceptions import (diff --git a/searx/preferences.py b/searx/preferences.pyindex e6d09b14f..ffe4a5d7e 100644--- a/searx/preferences.py+++ b/searx/preferences.py@@ -1,6 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Searx preferences implementation.-"""+"""Searx preferences implementation."""# pylint: disable=useless-object-inheritancediff --git a/searx/searxng.msg b/searx/searxng.msgindex 7401b8313..1ca29a51c 100644--- a/searx/searxng.msg+++ b/searx/searxng.msg@@ -1,7 +1,6 @@# -*- mode: python -*-# SPDX-License-Identifier: AGPL-3.0-or-later-"""A SearXNG message file, see :py:obj:`searx.babel`-"""+"""A SearXNG message file, see :py:obj:`searx.babel`"""import typingdiff --git a/searx/settings_defaults.py b/searx/settings_defaults.pyindex fd7d6d8cc..dba5ffc20 100644--- a/searx/settings_defaults.py+++ b/searx/settings_defaults.py@@ -1,7 +1,5 @@# SPDX-License-Identifier: AGPL-3.0-or-later-"""Implementation of the default settings.--"""+"""Implementation of the default settings."""from __future__ import annotationsimport typing as tdiff --git a/searxng_extra/update/update_engine_traits.py b/searxng_extra/update/update_engine_traits.pyindex a28d4d496..e52f7456d 100755--- a/searxng_extra/update/update_engine_traits.py+++ b/searxng_extra/update/update_engine_traits.py@@ -50,7 +50,7 @@ A list of five-digit tuples:Empty string for language tags.3. English language name (from :py:obj:`babel.core.Locale.english_name`)4. Unicode flag (emoji) that fits to SearXNG's internal region tag. Languages- are represented by a globe (\U0001F310)+ are represented by a globe (\U0001f310).. code:: python@@ -68,11 +68,11 @@ A list of five-digit tuples:lang2emoji = {- 'ha': '\U0001F1F3\U0001F1EA', # Hausa / Niger- 'bs': '\U0001F1E7\U0001F1E6', # Bosnian / Bosnia & Herzegovina- 'jp': '\U0001F1EF\U0001F1F5', # Japanese- 'ua': '\U0001F1FA\U0001F1E6', # Ukrainian- 'he': '\U0001F1EE\U0001F1F1', # Hebrew+ 'ha': '\U0001f1f3\U0001f1ea', # Hausa / Niger+ 'bs': '\U0001f1e7\U0001f1e6', # Bosnian / Bosnia & Herzegovina+ 'jp': '\U0001f1ef\U0001f1f5', # Japanese+ 'ua': '\U0001f1fa\U0001f1e6', # Ukrainian+ 'he': '\U0001f1ee\U0001f1f1', # Hebrew}@@ -178,7 +178,7 @@ def get_unicode_flag(locale: babel.Locale):return emojiif not locale.territory:- return '\U0001F310'+ return '\U0001f310'emoji = lang2emoji.get(locale.territory.lower())if emoji: