Repository Analysis

searxng/searxng

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

5.9 Low AI signal View on GitHub
5.9
Adjusted Score
5.9
Raw Score
100%
Time Factor
2026-05-30
Last Push
30,853
Stars
Python
Language
131,726
Lines of Code
583
Files
582
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 31MEDIUM 50LOW 501

Pattern Findings

582 matches across 15 categories. Click a row to expand file-level details.

Unused Imports203 hits · 203 pts
SeverityFileLineSnippet
LOWsearx/settings_defaults.py3
LOWsearx/external_bang.py14
LOWsearx/webutils.py14
LOWsearx/webutils.py27
LOWsearx/webutils.py28
LOWsearx/webutils.py29
LOWsearx/webutils.py30
LOWsearx/__init__.py3
LOWsearx/extended_types.py31
LOWsearx/extended_types.py32
LOWsearx/extended_types.py33
LOWsearx/extended_types.py33
LOWsearx/extended_types.py33
LOWsearx/exceptions.py7
LOWsearx/autocomplete.py26
LOWsearx/brand.py7
LOWsearx/metrics/__init__.py11
LOWsearx/metrics/__init__.py11
LOWsearx/answerers/__init__.py45
LOWsearx/answerers/__init__.py45
LOWsearx/favicons/__init__.py17
LOWsearx/favicons/__init__.py17
LOWsearx/plugins/tor_check.py19
LOWsearx/plugins/tor_check.py20
LOWsearx/plugins/tor_check.py21
LOWsearx/plugins/infinite_scroll.py11
LOWsearx/plugins/oa_doi_rewrite.py16
LOWsearx/plugins/oa_doi_rewrite.py17
LOWsearx/plugins/oa_doi_rewrite.py18
LOWsearx/plugins/oa_doi_rewrite.py18
LOWsearx/plugins/oa_doi_rewrite.py19
LOWsearx/plugins/self_info.py15
LOWsearx/plugins/self_info.py16
LOWsearx/plugins/self_info.py17
LOWsearx/plugins/time_zone.py15
LOWsearx/plugins/time_zone.py16
LOWsearx/plugins/time_zone.py17
LOWsearx/plugins/__init__.py102
LOWsearx/plugins/__init__.py102
LOWsearx/plugins/__init__.py102
LOWsearx/plugins/hostnames.py98
LOWsearx/plugins/hostnames.py99
LOWsearx/plugins/hostnames.py100
LOWsearx/plugins/hostnames.py101
LOWsearx/plugins/hostnames.py102
LOWsearx/plugins/unit_converter.py22
LOWsearx/plugins/unit_converter.py23
LOWsearx/plugins/unit_converter.py24
LOWsearx/plugins/_core.py20
LOWsearx/plugins/_core.py21
LOWsearx/plugins/_core.py21
LOWsearx/plugins/_core.py21
LOWsearx/plugins/_core.py22
LOWsearx/plugins/calculator.py11
LOWsearx/plugins/ahmia_filter.py14
LOWsearx/plugins/ahmia_filter.py15
LOWsearx/plugins/ahmia_filter.py16
LOWsearx/plugins/ahmia_filter.py17
LOWsearx/plugins/ahmia_filter.py18
LOWsearx/plugins/hash_plugin.py14
143 more matches not shown…
Hyper-Verbose Identifiers102 hits · 108 pts
SeverityFileLineSnippet
LOWsearxng_extra/update/update_engine_descriptions.py208def fetch_wikidata_descriptions():
LOWsearxng_extra/update/update_engine_descriptions.py230def fetch_wikipedia_descriptions():
LOWsearxng_extra/update/update_engine_descriptions.py261def fetch_website_description(engine_name, website):
LOWsearxng_extra/update/update_engine_descriptions.py314def fetch_website_descriptions():
LOWsearxng_extra/update/update_engine_descriptions.py326def get_engine_descriptions_filename():
LOWsearxng_extra/update/update_firefox_version.py60def fetch_firefox_last_versions():
LOWsearxng_extra/update/update_currencies.py92def wikidata_request_result_iterator(request):
LOWsearx/external_bang.py30def get_bang_definition_and_ac(external_bangs_db: dict[str, t.Any], bang: str):
LOWsearx/external_bang.py64def get_bang_definition_and_autocomplete(
LOWsearx/external_urls.py56def get_earth_coordinates_url(latitude, longitude, osm_zoom, alternative='default'):
LOWsearx/query.py311 def get_autocomplete_full_query(self, text):
LOWsearx/utils.py486def get_string_replaces_function(replaces: dict[str, str]) -> Callable[[str], str]:
LOWsearx/exceptions.py82 def _get_default_suspended_time(self) -> int:
LOWsearx/webadapter.py16def deduplicate_engineref_list(engineref_list: List[EngineRef]) -> List[EngineRef]:
LOWsearx/webadapter.py158def get_engineref_from_category_list( # pylint: disable=invalid-name
LOWsearx/webadapter.py221def get_search_query_from_webapp(
LOWsearx/metrics/error_recorder.py110def get_request_exception_messages(
LOWsearx/plugins/hostnames.py161 def _load_regular_expressions(self, settings_key) -> dict[re.Pattern, str] | set | None:
LOWsearx/network/raise_for_httperror.py33def raise_for_cloudflare_captcha(resp: "SXNG_Response"):
LOWsearx/network/client.py114def get_transport_for_socks_proxy(
LOWsearx/network/network.py239 def extract_do_raise_for_httperror(kwargs: dict[str, t.Any]):
LOWsearx/network/network.py318def check_network_configuration():
LOWsearx/search/processors/abstract.py225 def extend_container_if_suspended(self, result_container: "ResultContainer") -> bool:
LOWsearx/engines/elasticsearch.py116def _simple_query_string_query(query):
LOWsearx/engines/command.py156def _get_results_from_process(res: EngineResults, cmd, pageno):
LOWsearx/engines/__init__.py196def update_attributes_for_tor(engine: "Engine | types.ModuleType"):
LOWsearx/engines/__init__.py202def is_missing_required_attributes(engine: "Engine | types.ModuleType"):
LOWsearx/engines/sogou.py117def _parse_results_with_image(item, item_html):
LOWsearx/engines/wikidata.py818def debug_explain_wikidata_query(query: str, method: str = "GET"):
LOWsearx/engines/quark.py241def parse_life_show_general_image(data):
LOWsearx/engines/quark.py367def parse_travel_dest_overview(data):
LOWsearx/engines/quark.py375def parse_travel_ranking_list(data):
LOWsearx/engines/youtube_noapi.py110def parse_first_page_response(response_text):
LOWsearx/botdetection/ip_lists.py73def ip_is_subnet_of_member_in_list(
LOWtests/unit/test_webadapter.py26 def test_with_incorrect_token(self):
LOWtests/unit/test_webutils.py31 def test_highlight_content_none(self, content, query, expected):
LOWtests/unit/test_webutils.py34 def test_highlight_content_same(self):
LOWtests/unit/test_webutils.py77 def test_highlight_content_equal(self, query: str, content: str, expected: str):
LOWtests/unit/test_utils.py53 def test_extract_text_allow_none(self):
LOWtests/unit/test_utils.py56 def test_extract_text_error_none(self):
LOWtests/unit/test_utils.py60 def test_extract_text_error_empty(self):
LOWtests/unit/test_utils.py95 def test_html_to_text_with_a_style_span(self):
LOWtests/unit/test_utils.py147 def test_eval_xpath_unregistered_function(self):
LOWtests/unit/test_preferences.py33 def test_map_setting_invalid_default_value(self):
LOWtests/unit/test_preferences.py37 def test_map_setting_invalid_choice(self):
LOWtests/unit/test_preferences.py42 def test_map_setting_valid_default(self):
LOWtests/unit/test_preferences.py46 def test_map_setting_valid_choice(self):
LOWtests/unit/test_preferences.py54 def test_enum_setting_invalid_default_value(self):
LOWtests/unit/test_preferences.py58 def test_enum_setting_invalid_choice(self):
LOWtests/unit/test_preferences.py63 def test_enum_setting_valid_default(self):
LOWtests/unit/test_preferences.py67 def test_enum_setting_valid_choice(self):
LOWtests/unit/test_preferences.py75 def test_multiple_setting_invalid_default_value(self):
LOWtests/unit/test_preferences.py79 def test_multiple_setting_invalid_choice(self):
LOWtests/unit/test_preferences.py84 def test_multiple_setting_valid_default(self):
LOWtests/unit/test_preferences.py88 def test_multiple_setting_valid_choice(self):
LOWtests/unit/test_preferences.py96 def test_lang_setting_valid_choice(self):
LOWtests/unit/test_preferences.py101 def test_lang_setting_invalid_choice(self):
LOWtests/unit/test_preferences.py106 def test_lang_setting_old_cookie_choice(self):
LOWtests/unit/test_preferences.py111 def test_lang_setting_old_cookie_format(self):
LOWtests/unit/test_preferences.py118 def test_plugins_setting_all_default_enabled(self):
42 more matches not shown…
Cross-File Repetition21 hits · 105 pts
SeverityFileLineSnippet
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/preferences.py0parse and validate ``data`` and store the result at ``self.value``
HIGHsearx/plugins/oa_doi_rewrite.py0returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is
HIGHsearx/plugins/hostnames.py0returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is
HIGHsearx/plugins/tracker_url_remover.py0returns bool ``true`` to use url unchanged (``false`` to ignore url). if url should be modified, the returned string is
HIGHsearx/engines/wolframalpha_noapi.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/radio_browser.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/demo_offline.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/azure.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/soundcloud.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/semantic_scholar.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/startpage.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/duckduckgo.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/wikidata.py0persistent (sqlite) key/value cache that deletes its values after ``expire`` seconds.
HIGHsearx/engines/google_images.py0`google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982
HIGHsearx/engines/google.py0`google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982
HIGHsearx/engines/google_scholar.py0`google max 50 pages`_ .. _google max 50 pages: https://github.com/searxng/searxng/issues/2982
Decorative Section Separators25 hits · 75 pts
SeverityFileLineSnippet
MEDIUMsearx/compat.py8# ------------------------------
MEDIUMsearx/engines/google.py68# ------------------------
MEDIUMsearx/engines/duckduckgo_extra.py91 # ============
MEDIUMsearx/engines/duckduckgo_extra.py105 # ================
MEDIUMsearx/engines/duckduckgo.py375 # ============
MEDIUMsearx/engines/duckduckgo.py395 # ===========================
MEDIUMutils/lib_nvm.sh16# -------------------------
MEDIUMutils/lib_nvm.sh24# -------------------------
MEDIUMutils/lib_nvm.sh55# -----------------------
MEDIUMutils/lib_nvm.sh89# --------------------------
MEDIUMutils/lib.sh757# ----------
MEDIUMutils/lib.sh849# ---------------
MEDIUMutils/lib.sh1496# ------------------------
MEDIUMutils/lib.sh1593# -----------
MEDIUMutils/searxng.sh1011# ----------------------------------------------------------------------------
MEDIUMutils/searxng.sh1013# ----------------------------------------------------------------------------
MEDIUMutils/lib_govm.sh12# --------------------------------------
MEDIUMutils/lib_govm.sh28# -----------------------
MEDIUMutils/lib_govm.sh103# -----------------------------
MEDIUMutils/templates/etc/uwsgi/apps-available/searxng.ini5# ----------
MEDIUMutils/templates/etc/uwsgi/apps-available/searxng.ini58# --------------
MEDIUMutils/templates/etc/uwsgi/apps-available/searxng.ini73# -----------------
MEDIUMutils/templates/etc/uwsgi/apps-archlinux/searxng.ini5# ----------
MEDIUMutils/templates/etc/uwsgi/apps-archlinux/searxng.ini55# --------------
MEDIUMutils/templates/etc/uwsgi/apps-archlinux/searxng.ini70# -----------------
Deep Nesting71 hits · 71 pts
SeverityFileLineSnippet
LOWsearxng_extra/update/update_engine_descriptions.py208
LOWsearxng_extra/update/update_engine_descriptions.py230
LOWsearxng_extra/update/update_engine_descriptions.py330
LOWsearx/settings_defaults.py141
LOWsearx/babel_extract.py30
LOWsearx/results.py272
LOWsearx/results.py82
LOWsearx/results.py154
LOWsearx/results.py191
LOWsearx/settings_loader.py127
LOWsearx/preferences.py528
LOWsearx/preferences.py542
LOWsearx/utils.py602
LOWsearx/utils.py705
LOWsearx/webadapter.py117
LOWsearx/webadapter.py172
LOWsearx/metrics/models.py70
LOWsearx/metrics/models.py85
LOWsearx/favicons/cache.py381
LOWsearx/plugins/unit_converter.py47
LOWsearx/network/network.py336
LOWsearx/network/network.py122
LOWsearx/result_types/_base.py114
LOWsearx/result_types/file.py72
LOWsearx/search/__init__.py78
LOWsearx/engines/wolframalpha_noapi.py77
LOWsearx/engines/presearch.py248
LOWsearx/engines/uxwing.py28
LOWsearx/engines/ccc_media.py29
LOWsearx/engines/tineye.py152
LOWsearx/engines/springer.py120
LOWsearx/engines/command.py156
LOWsearx/engines/command.py196
LOWsearx/engines/karmasearch.py128
LOWsearx/engines/brave.py418
LOWsearx/engines/acfun.py36
LOWsearx/engines/github_code.py162
LOWsearx/engines/azure.py157
LOWsearx/engines/adobe_stock.py148
LOWsearx/engines/adobe_stock.py202
LOWsearx/engines/bing.py115
LOWsearx/engines/bing.py158
LOWsearx/engines/yandex.py88
LOWsearx/engines/google.py362
LOWsearx/engines/doku.py47
LOWsearx/engines/core.py89
LOWsearx/engines/bing_news.py80
LOWsearx/engines/duckduckgo_definitions.py78
LOWsearx/engines/openstreetmap.py211
LOWsearx/engines/tokyotoshokan.py38
LOWsearx/engines/xpath.py266
LOWsearx/engines/jisho.py34
LOWsearx/engines/duckduckgo_extra.py184
LOWsearx/engines/startpage.py398
LOWsearx/engines/yacy.py149
LOWsearx/engines/qwant.py133
LOWsearx/engines/wikidata.py566
LOWsearx/engines/wikidata.py412
LOWsearx/engines/quark.py83
LOWsearx/engines/json_engine.py281
11 more matches not shown…
Over-Commented Block48 hits · 47 pts
SeverityFileLineSnippet
LOWsearxng_extra/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWsearxng_extra/update/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWsearx/weather.py61
LOWsearx/utils.py721 for i, p in enumerate(parts):
LOWsearx/utils.py761 elif in_string is None:
LOWsearx/locales.py341 # language, then the percentage might be 100% (--> 100 people) but in
LOWsearx/settings.yml21 docs_url: https://docs.searxng.org/
LOWsearx/settings.yml41 # Filter results. 0: None, 1: Moderate, 2: Strict
LOWsearx/settings.yml61 # - de
LOWsearx/settings.yml121valkey:
LOWsearx/settings.yml141 # Default interface locale - leave blank to detect from browser information or
LOWsearx/settings.yml161# - categories
LOWsearx/settings.yml181 # the maximum timeout in seconds
LOWsearx/settings.yml201 # https://2.python-requests.org/en/latest/user/advanced/#socks
LOWsearx/settings.yml261
LOWsearx/settings.yml1421
LOWsearx/settings.yml1681 - https://pximg.example.org
LOWsearx/settings.yml1821 disabled: true
LOWsearx/settings.yml1861 - name: rottentomatoes
LOWsearx/settings.yml1981 # Spotify needs API credentials
LOWsearx/settings.yml2041 - https://solidtorrents.to
LOWsearx/settings.yml2101 # - name: tubearchivist
LOWsearx/settings.yml2341 - name: mymemory translated
LOWsearx/settings.yml2681 api_path: "api.php"
LOWsearx/settings.yml2701# command: ['git', 'grep', '{{QUERY}}']
LOWsearx/settings.yml2721# keys: ['line']
LOWsearx/settings.yml2741# of access tokens under tokens.
LOWsearx/favicons/favicons.toml21# HOLD_TIME = 5184000 # 60 days / default: 30 days
LOWsearx/engines/google.py181 # '!go 日 :zh-TW' --> https://zh.m.wiktionary.org/zh-hant/%E6%97%A5
LOWsearx/engines/google.py201 # lr parameter:
LOWsearx/engines/google.py221 # particular country.
LOWsearx/engines/google.py241 # https://github.com/searxng/searxng/issues/2515#issuecomment-1606294635
LOWsearx/engines/google.py321 "start": start,
LOWsearx/engines/bing_news.py141 # bing for this market. Alternatively we use the the market code from Honk
LOWtests/unit/test_js_variable_to_python.py141 ("[0]", [0]),
LOWtests/unit/test_js_variable_to_python.py261 # ("aaaaaaaaaaaaaaaa", []),
LOWtests/unit/network/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWtests/unit/processors/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWtests/unit/engines/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWtests/robot/__init__.py1# SPDX-License-Identifier: AGPL-3.0-or-later
LOWutils/lib_nvm.sh1#!/usr/bin/env bash
LOWutils/lib_sxng_weblate.sh121 pyenv.cmd wlc unlock
LOWutils/lib.sh401 echo
LOWutils/templates/etc/searxng/settings.yml21 # by ${SEARXNG_BASE_URL}.
LOWutils/templates/etc/searxng/settings.yml41# - name: mediathekviewweb
LOWutils/templates/etc/uwsgi/apps-available/searxng.ini1# -*- mode: conf; coding: utf-8 -*-
LOWutils/templates/etc/uwsgi/apps-available/searxng.ini41lazy-apps = true
LOWutils/templates/etc/uwsgi/apps-archlinux/searxng.ini41plugin = python
Excessive Try-Catch Wrapping39 hits · 44 pts
SeverityFileLineSnippet
LOWsearxng_extra/update/update_engine_descriptions.py132 except Exception as e: # pylint: disable=broad-except
LOWsearxng_extra/update/update_engine_descriptions.py156 except Exception: # pylint: disable=broad-except
LOWsearx/settings_defaults.py165 except Exception as e: # pylint: disable=broad-except
LOWsearx/webapp.py188 except Exception as e: # pylint: disable=broad-except
LOWsearx/webapp.py477 except Exception as e: # pylint: disable=broad-except
LOWsearx/webapp.py493 except Exception as e: # pylint: disable=broad-except
LOWsearx/webapp.py659 except Exception as e: # pylint: disable=broad-except
LOWsearx/sqlitedb.py87 except Exception: # pylint: disable=broad-exception-caught
MEDIUMsearx/sqlitedb.py77def __del__(self):
LOWsearx/plugins/_core.py222 except Exception as exc: # pylint: disable=broad-exception-caught
LOWsearx/plugins/_core.py259 except Exception: # pylint: disable=broad-except
LOWsearx/plugins/_core.py273 except Exception: # pylint: disable=broad-except
LOWsearx/plugins/_core.py301 except Exception: # pylint: disable=broad-except
LOWsearx/enginelib/traits.py216 except Exception as exc:
LOWsearx/network/__init__.py132 except Exception as e: # pylint: disable=broad-except
LOWsearx/network/__init__.py219 except Exception as e: # pylint: disable=broad-except
LOWsearx/network/network.py325 except Exception: # pylint: disable=broad-except
LOWsearx/result_types/_base.py133 except Exception as exc: # pylint: disable=broad-exception-caught
LOWsearx/search/processors/abstract.py156 except Exception: # pylint: disable=broad-except
LOWsearx/search/processors/online.py280 except Exception as e: # pylint: disable=broad-except
LOWsearx/search/processors/offline.py30 except Exception as e: # pylint: disable=broad-except
LOWsearx/engines/elasticsearch.py110 except Exception as e:
LOWsearx/engines/elasticsearch.py135 except Exception as e:
LOWsearx/engines/elasticsearch.py150 except Exception as e:
LOWsearx/engines/360search_videos.py35 except Exception as e:
MEDIUMsearx/engines/360search_videos.py32def response(resp):
LOWsearx/engines/sogou_videos.py39 except Exception as e:
MEDIUMsearx/engines/sogou_videos.py36def response(resp):
LOWsearx/engines/chinaso.py156 except Exception as e:
MEDIUMsearx/engines/chinaso.py153def response(resp):
LOWsearx/engines/solr.py79 except Exception as e:
LOWsearx/engines/iqiyi.py64 except Exception as e:
MEDIUMsearx/engines/iqiyi.py61def response(resp):
LOWsearx/engines/__init__.py243 except Exception as e: # pylint: disable=broad-except
LOWsearx/engines/google.py418 except Exception as e: # pylint: disable=broad-except
LOWsearx/engines/wikidata.py429 except Exception: # pylint: disable=broad-except
LOWsearx/engines/wikipedia.py171 except Exception: # pylint: disable=broad-except
LOWtests/robot/__main__.py61 except Exception: # pylint: disable=broad-except
MEDIUMtests/robot/__main__.py62 print('Error occurred: {0}'.format(traceback.format_exc()))
Fake / Example Data31 hits · 33 pts
SeverityFileLineSnippet
LOWsearx/utils.py167 >>> html_to_text(r'<p><b>Lorem ipsum </i>dolor sit amet</p>')
LOWsearx/utils.py167 >>> html_to_text(r'<p><b>Lorem ipsum </i>dolor sit amet</p>')
LOWsearx/utils.py168 'Lorem ipsum </i>dolor sit amet</p>'
LOWsearx/utils.py168 'Lorem ipsum </i>dolor sit amet</p>'
LOWsearx/infopage/fa_IR/search-syntax.md63 - {{search('md5 lorem ipsum')}}
LOWsearx/infopage/fa_IR/search-syntax.md64 - {{search('sha512 lorem ipsum')}}
LOWsearx/infopage/it/search-syntax.md88 - {{search('md5 lorem ipsum')}}
LOWsearx/infopage/it/search-syntax.md89 - {{search('sha512 lorem ipsum')}}
LOWsearx/infopage/de/search-syntax.md92 - {{search('md5 lorem ipsum')}}
LOWsearx/infopage/de/search-syntax.md93 - {{search('sha512 lorem ipsum')}}
LOWsearx/infopage/fr/search-syntax.md96 - {{search('md5 lorem ipsum')}}
LOWsearx/infopage/fr/search-syntax.md97 - {{search('sha512 lorem ipsum')}}
LOWsearx/infopage/en/search-syntax.md83 - {{search('md5 lorem ipsum')}}
LOWsearx/infopage/en/search-syntax.md84 - {{search('sha512 lorem ipsum')}}
LOWsearx/result_types/__init__.py83 res.add( res.types.Answer(answer="lorem ipsum ..", url="https://example.org") )
LOWtests/unit/test_utils.py88 (r'<p><b>Lorem ipsum </i>dolor sit amet</p>', 'Lorem ipsum </i>dolor sit amet</p>'),
LOWtests/unit/test_utils.py88 (r'<p><b>Lorem ipsum </i>dolor sit amet</p>', 'Lorem ipsum </i>dolor sit amet</p>'),
LOWtests/unit/test_results.py33 result = dict(suggestion="lorem ipsum ..")
LOWtests/unit/test_results.py46 url="https://example.org", title="very long title, lorem ipsum", content="Lorem ipsum dolor sit amet .."
LOWtests/unit/test_results.py46 url="https://example.org", title="very long title, lorem ipsum", content="Lorem ipsum dolor sit amet .."
LOWtests/unit/test_results.py50 eng2 = dict(url="http://example.org", title=result.title, content="lorem ipsum", engine="duckduckgo")
LOWtests/unit/test_plugins.py104 get_search_mock("lorem ipsum", user_plugins=["plg001", "plg002"]),
LOWtests/unit/test_plugin_self_info.py121 "USER-AgenT lorem ipsum",
LOWtests/unit/network/test_network.py114 a_text = 'Lorem Ipsum'
LOWtests/unit/network/test_network.py125 TEXT = 'Lorem Ipsum'
LOWtests/unit/network/test_network.py201 TEXT = 'Lorem Ipsum'
LOWutils/lib.sh151 # usage: RST_INDENT=1 rst_para "lorem ipsum ..."
LOWdocs/dev/csv_table.txt1stub col row 1, column, "loremLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
LOWdocs/dev/csv_table.txt1stub col row 1, column, "loremLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
LOWdocs/dev/csv_table.txt5kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", column
LOWdocs/dev/csv_table.txt5kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.", column
Cross-Language Confusion6 hits · 32 pts
SeverityFileLineSnippet
HIGHsearx/webapp.py858 """Render preferences page && save user preferences"""
HIGHsearx/engines/yandex.py114 html_sample, '{"location":"/images/search/', 'advRsyaSearchColumn":null}}', default="fail"
HIGHsearx/engines/yandex.py116 json_data = '{"location":"/images/search/' + content_between_tags + 'advRsyaSearchColumn":null}}'
HIGHtests/unit/test_js_variable_to_python.py80 ("{'a': true, 'b': false, 'c': null}", {'a': True, 'b': False, 'c': None}),
HIGHtests/unit/test_js_variable_to_python.py113 ('{"a": undefined}', {"a": None}), # chompjs returns {"a": "undefined"}
HIGHtests/unit/test_js_variable_to_python.py114 ('[undefined, undefined]', [None, None]), # chompjs returns ["undefined", "undefined"]
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippet
HIGHsearx/utils.py149Extract text from a HTML string Args: * html_str (str): string HTML Returns: * str: extracted
HIGHsearx/utils.py190Extract text from a Markdown string Args: * markdown_str (str): string Markdown Returns: * str
HIGHsearx/utils.py257Normalize URL: add protocol, join URL with base_url, add trailing slash if there is no path Args: * url (st
Slop Phrases10 hits · 14 pts
SeverityFileLineSnippet
LOWsearx/webapp.py1035 # we make sure to close the response between searxng and the HTTP server
MEDIUMsearx/settings.yml278# Alternatively you can use external files for configuring the "Hostnames plugin":
MEDIUMsearx/engines/meilisearch.py23Here is a simple example to query a Meilisearch instance:
MEDIUMsearx/engines/xpath.py54Here is a simple example of a XPath engine configured in the :ref:`settings
MEDIUMsearx/engines/json_engine.py56Here is a simple example of a JSON engine configure in the :ref:`settings
LOWutils/lib_sxng_weblate.sh119 ( # make sure to always unlock weblate
LOWutils/lib_sxng_weblate.sh221 ( # make sure to always unlock weblate
MEDIUMutils/lib.sh417 # replacements you can use::
LOWutils/searxng.sh363 info_msg "Don't forget to install HTTP site."
LOWutils/searxng.sh386 MSG="** Don't forget to remove your public site! (${SEARXNG_URL}) **" wait_key 10
Self-Referential Comments9 hits · 13 pts
SeverityFileLineSnippet
MEDIUMsearx/babel_extract.py2"""This module implements the :origin:`searxng_msg <babel.cfg>` extractor to
MEDIUMsearx/extended_types.py2"""This module implements the type extensions applied by SearXNG.
MEDIUMsearx/autocomplete.py2"""This module implements functions needed for the autocompleter."""
MEDIUMsearx/search/processors/online.py119 """This method is called in a thread, and before the base method is
MEDIUMsearx/engines/zlibrary.py229 # Create a Locale object for the current locale
MEDIUMsearx/engines/wikidata.py2"""This module implements the Wikidata engine.
MEDIUMsearx/engines/wikipedia.py2"""This module implements the Wikipedia engine. Some of this implementations
MEDIUMsearx/botdetection/link_token.py94 """This function is called by a request to URL ``/client<token>.css``. If
MEDIUMsearx/botdetection/link_token.py146 # This function is also called when limiter is inactive / no valkey DB
AI Slop Vocabulary9 hits · 13 pts
SeverityFileLineSnippet
MEDIUMsearx/preferences.py198 """Setting of a value that has to be translated in order to be storable"""
MEDIUMsearx/preferences.py227 """Setting of a boolean value that has to be translated in order to be storable"""
LOWsearx/favicons/resolvers.py33 # will just return a 200 regardless of the favicon existing or not
LOWsearx/favicons/proxy.py142 # if resolver is empty or not valid, just return HTTP 400.
LOWsearx/favicons/proxy.py219 # if resolver is empty or not valid, just return nothing.
LOWsearx/search/processors/abstract.py271 # search processor, just pass the value from user's choice unchanged to
MEDIUMsearx/engines/postgresql.py2"""PostgreSQL is a powerful and robust open source database. Before configuring
MEDIUMsearx/engines/core.py2"""CORE_ (COnnecting REpositories) provides a comprehensive bibliographic
MEDIUMsearx/engines/recoll.py130 # facilitate preview support for known mime types
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWutils/lib_sxng_container.sh23 # Check if podman or docker is installed
LOWutils/lib_sxng_container.sh76 # Check if it is a git repository
LOWcontainer/entrypoint.sh5# Check if it's a valid file
LOWcontainer/entrypoint.sh20# Check if it's a valid directory
Magic Placeholder Names1 hit · 2 pts
SeverityFileLineSnippet
HIGHsearx/engines/braveapi.py21 api_key: 'YOUR-API-KEY' # required