mirror of
https://github.com/searxng/searxng.git
synced 2026-07-26 18:01:33 +00:00
Compare commits
8 Commits
3668c7012e
...
7e680d8e8e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e680d8e8e | ||
|
|
2482646323 | ||
|
|
96a6e3dcb2 | ||
|
|
ef99cc472d | ||
|
|
64b52d485b | ||
|
|
de6b027ec7 | ||
|
|
f687306a95 | ||
|
|
b75e56afe6 |
66
client/simple/package-lock.json
generated
66
client/simple/package-lock.json
generated
@@ -25,7 +25,7 @@
|
||||
"normalize.css": "^8.0.1",
|
||||
"sharp": "^0.33.5",
|
||||
"style-loader": "^4.0.0",
|
||||
"stylelint": "^16.15.0",
|
||||
"stylelint": "^16.16.0",
|
||||
"stylelint-config-standard": "^37.0.0",
|
||||
"stylelint-config-standard-less": "^3.0.1",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
@@ -1271,9 +1271,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@keyv/serialize": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.2.tgz",
|
||||
"integrity": "sha512-+E/LyaAeuABniD/RvUezWVXKpeuvwLEA9//nE9952zBaOdBd2mQ3pPoM8cUe2X6IcMByfuSLzmYqnYshG60+HQ==",
|
||||
"version": "1.0.3",
|
||||
"resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.0.3.tgz",
|
||||
"integrity": "sha512-qnEovoOp5Np2JDGonIDL6Ayihw0RhnRh6vxPuHo4RDn1UOzwEo4AeIfpL6UGIrsceWrCMiVPgwRjbHu4vYFc3g==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -2489,24 +2489,24 @@
|
||||
}
|
||||
},
|
||||
"node_modules/cacheable": {
|
||||
"version": "1.8.8",
|
||||
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.8.tgz",
|
||||
"integrity": "sha512-OE1/jlarWxROUIpd0qGBSKFLkNsotY8pt4GeiVErUYh/NUeTNrT+SBksUgllQv4m6a0W/VZsLuiHb88maavqEw==",
|
||||
"version": "1.8.9",
|
||||
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.8.9.tgz",
|
||||
"integrity": "sha512-FicwAUyWnrtnd4QqYAoRlNs44/a1jTL7XDKqm5gJ90wz1DQPlC7U2Rd1Tydpv+E7WAr4sQHuw8Q8M3nZMAyecQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"hookified": "^1.7.0",
|
||||
"keyv": "^5.2.3"
|
||||
"hookified": "^1.7.1",
|
||||
"keyv": "^5.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/cacheable/node_modules/keyv": {
|
||||
"version": "5.2.3",
|
||||
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.2.3.tgz",
|
||||
"integrity": "sha512-AGKecUfzrowabUv0bH1RIR5Vf7w+l4S3xtQAypKaUpTdIR1EbrAcTxHCrpo9Q+IWeUlFE2palRtgIQcgm+PQJw==",
|
||||
"version": "5.3.2",
|
||||
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.3.2.tgz",
|
||||
"integrity": "sha512-Lji2XRxqqa5Wg+CHLVfFKBImfJZ4pCSccu9eVWK6w4c2SDFLd8JAn1zqTuSFnsxb7ope6rMsnIHfp+eBbRBRZQ==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@keyv/serialize": "^1.0.2"
|
||||
"@keyv/serialize": "^1.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/callsites": {
|
||||
@@ -3779,9 +3779,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/flatted": {
|
||||
"version": "3.3.2",
|
||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz",
|
||||
"integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==",
|
||||
"version": "3.3.3",
|
||||
"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
|
||||
"integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
|
||||
"dev": true,
|
||||
"license": "ISC"
|
||||
},
|
||||
@@ -4000,9 +4000,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/hookified": {
|
||||
"version": "1.7.1",
|
||||
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.7.1.tgz",
|
||||
"integrity": "sha512-OXcdHsXeOiD7OJ5zvWj8Oy/6RCdLwntAX+wUrfemNcMGn6sux4xbEHi2QXwqePYhjQ/yvxxq2MvCRirdlHscBw==",
|
||||
"version": "1.8.1",
|
||||
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.8.1.tgz",
|
||||
"integrity": "sha512-GrO2l93P8xCWBSTBX9l2BxI78VU/MAAYag+pG8curS3aBGy0++ZlxrQ7PdUOUVMbn5BwkGb6+eRrnf43ipnFEA==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
@@ -6064,9 +6064,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint": {
|
||||
"version": "16.15.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.15.0.tgz",
|
||||
"integrity": "sha512-OK6Rs7EPdcdmjqiDycadZY4fw3f5/TC1X6/tGjnF3OosbwCeNs7nG+79MCAtjEg7ckwqTJTsku08e0Rmaz5nUw==",
|
||||
"version": "16.16.0",
|
||||
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.16.0.tgz",
|
||||
"integrity": "sha512-40X5UOb/0CEFnZVEHyN260HlSSUxPES+arrUphOumGWgXERHfwCD0kNBVILgQSij8iliYVwlc0V7M5bcLP9vPg==",
|
||||
"dev": true,
|
||||
"funding": [
|
||||
{
|
||||
@@ -6093,7 +6093,7 @@
|
||||
"debug": "^4.3.7",
|
||||
"fast-glob": "^3.3.3",
|
||||
"fastest-levenshtein": "^1.0.16",
|
||||
"file-entry-cache": "^10.0.6",
|
||||
"file-entry-cache": "^10.0.7",
|
||||
"global-modules": "^2.0.0",
|
||||
"globby": "^11.1.0",
|
||||
"globjoin": "^0.1.4",
|
||||
@@ -6318,25 +6318,25 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/stylelint/node_modules/file-entry-cache": {
|
||||
"version": "10.0.6",
|
||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.0.6.tgz",
|
||||
"integrity": "sha512-0wvv16mVo9nN0Md3k7DMjgAPKG/TY4F/gYMBVb/wMThFRJvzrpaqBFqF6km9wf8QfYTN+mNg5aeaBLfy8k35uA==",
|
||||
"version": "10.0.7",
|
||||
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.0.7.tgz",
|
||||
"integrity": "sha512-txsf5fu3anp2ff3+gOJJzRImtrtm/oa9tYLN0iTuINZ++EyVR/nRrg2fKYwvG/pXDofcrvvb0scEbX3NyW/COw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"flat-cache": "^6.1.6"
|
||||
"flat-cache": "^6.1.7"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint/node_modules/flat-cache": {
|
||||
"version": "6.1.6",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.6.tgz",
|
||||
"integrity": "sha512-F+CKgSwp0pzLx67u+Zy1aCueVWFAHWbXepvXlZ+bWVTaASbm5SyCnSJ80Fp1ePEmS57wU+Bf6cx6525qtMZ4lQ==",
|
||||
"version": "6.1.7",
|
||||
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.7.tgz",
|
||||
"integrity": "sha512-qwZ4xf1v1m7Rc9XiORly31YaChvKt6oNVHuqqZcoED/7O+ToyNVGobKsIAopY9ODcWpEDKEBAbrSOCBHtNQvew==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"cacheable": "^1.8.8",
|
||||
"flatted": "^3.3.2",
|
||||
"hookified": "^1.7.0"
|
||||
"cacheable": "^1.8.9",
|
||||
"flatted": "^3.3.3",
|
||||
"hookified": "^1.7.1"
|
||||
}
|
||||
},
|
||||
"node_modules/stylelint/node_modules/globby": {
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"normalize.css": "^8.0.1",
|
||||
"sharp": "^0.33.5",
|
||||
"style-loader": "^4.0.0",
|
||||
"stylelint": "^16.15.0",
|
||||
"stylelint": "^16.16.0",
|
||||
"stylelint-config-standard": "^37.0.0",
|
||||
"stylelint-config-standard-less": "^3.0.1",
|
||||
"stylelint-prettier": "^5.0.3",
|
||||
|
||||
@@ -2,7 +2,7 @@ mock==5.2.0
|
||||
nose2[coverage_plugin]==0.15.1
|
||||
cov-core==1.15.0
|
||||
black==24.3.0
|
||||
pylint==3.3.4
|
||||
pylint==3.3.6
|
||||
splinter==0.21.0
|
||||
selenium==4.29.0
|
||||
Pallets-Sphinx-Themes==2.3.0
|
||||
@@ -16,7 +16,7 @@ sphinx-notfound-page==1.1.0
|
||||
myst-parser==3.0.1
|
||||
linuxdoc==20240924
|
||||
aiounittest==1.5.0
|
||||
yamllint==1.36.0
|
||||
yamllint==1.36.2
|
||||
wlc==1.15
|
||||
coloredlogs==15.0.1
|
||||
docutils>=0.21.2
|
||||
|
||||
@@ -15,7 +15,7 @@ setproctitle==1.3.5
|
||||
redis==5.0.8
|
||||
markdown-it-py==3.0.0
|
||||
fasttext-predict==0.9.2.4
|
||||
tomli==2.0.2; python_version < '3.11'
|
||||
tomli==2.2.1; python_version < '3.11'
|
||||
msgspec==0.19.0
|
||||
typer-slim==0.15.2
|
||||
isodate==0.7.2
|
||||
|
||||
@@ -20,6 +20,7 @@ from searx import (
|
||||
)
|
||||
from searx.utils import (
|
||||
eval_xpath,
|
||||
eval_xpath_getindex,
|
||||
extr,
|
||||
extract_text,
|
||||
)
|
||||
@@ -400,7 +401,7 @@ def response(resp) -> EngineResults:
|
||||
results.add(
|
||||
results.types.Answer(
|
||||
answer=zero_click,
|
||||
url=extract_text(eval_xpath(doc, '//div[@id="zero_click_abstract"]/a/@href')),
|
||||
url=eval_xpath_getindex(doc, '//div[@id="zero_click_abstract"]/a/@href', 0),
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ categories = ["music"]
|
||||
paging = True
|
||||
|
||||
search_url = "https://api-v2.soundcloud.com/search"
|
||||
"""This is not the offical (developer) url, it is the API which is used by the
|
||||
"""This is not the official (developer) url, it is the API which is used by the
|
||||
HTML frontend of the common WEB site.
|
||||
"""
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ def _normalize_url_fields(result: Result | LegacyResult):
|
||||
# if the result has no scheme, use http as default
|
||||
scheme=result.parsed_url.scheme or "http",
|
||||
# normalize ``www.example.com`` to ``example.com``
|
||||
netloc=result.parsed_url.netloc.replace("www.", ""),
|
||||
# netloc=result.parsed_url.netloc.replace("www.", ""),
|
||||
# normalize ``example.com/path/`` to ``example.com/path``
|
||||
path=result.parsed_url.path.rstrip("/"),
|
||||
)
|
||||
@@ -69,7 +69,7 @@ def _normalize_url_fields(result: Result | LegacyResult):
|
||||
_url = urllib.parse.urlparse(_url)
|
||||
item["url"] = _url._replace(
|
||||
scheme=_url.scheme or "http",
|
||||
netloc=_url.netloc.replace("www.", ""),
|
||||
# netloc=_url.netloc.replace("www.", ""),
|
||||
path=_url.path.rstrip("/"),
|
||||
).geturl()
|
||||
|
||||
@@ -78,7 +78,7 @@ def _normalize_url_fields(result: Result | LegacyResult):
|
||||
_url = urllib.parse.urlparse(infobox_id)
|
||||
result.id = _url._replace(
|
||||
scheme=_url.scheme or "http",
|
||||
netloc=_url.netloc.replace("www.", ""),
|
||||
# netloc=_url.netloc.replace("www.", ""),
|
||||
path=_url.path.rstrip("/"),
|
||||
).geturl()
|
||||
|
||||
|
||||
Binary file not shown.
@@ -25,21 +25,22 @@
|
||||
# EOWNERDEAD <eownerdead@disroot.org>, 2025.
|
||||
# nogb <nogb@users.noreply.translate.codeberg.org>, 2025.
|
||||
# syobon <syobon@users.noreply.translate.codeberg.org>, 2025.
|
||||
# cc5efd7b0 <cc5efd7b0@noreply.codeberg.org>, 2025.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: searx\n"
|
||||
"Project-Id-Version: searx\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2025-01-29 05:08+0000\n"
|
||||
"PO-Revision-Date: 2025-01-17 07:09+0000\n"
|
||||
"Last-Translator: tentsbet <tentsbet@users.noreply.translate.codeberg.org>"
|
||||
"\n"
|
||||
"PO-Revision-Date: 2025-03-15 14:07+0000\n"
|
||||
"Last-Translator: cc5efd7b0 <cc5efd7b0@noreply.codeberg.org>\n"
|
||||
"Language-Team: Japanese <https://translate.codeberg.org/projects/searxng/"
|
||||
"searxng/ja/>\n"
|
||||
"Language: ja\n"
|
||||
"Language-Team: Japanese "
|
||||
"<https://translate.codeberg.org/projects/searxng/searxng/ja/>\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 5.10.2\n"
|
||||
"Generated-By: Babel 2.16.0\n"
|
||||
|
||||
#. CONSTANT_NAMES['NO_SUBGROUPING']
|
||||
@@ -455,11 +456,11 @@ msgstr "異なるランダムな値を生成する"
|
||||
|
||||
#: searx/answerers/statistics.py:36
|
||||
msgid "Compute {func} of the arguments"
|
||||
msgstr ""
|
||||
msgstr "引数の {func} を計算する"
|
||||
|
||||
#: searx/engines/openstreetmap.py:158
|
||||
msgid "Show route in map .."
|
||||
msgstr ""
|
||||
msgstr "地図にルートを表示.."
|
||||
|
||||
#: searx/engines/pdbe.py:96
|
||||
msgid "{title} (OBSOLETE)"
|
||||
@@ -529,7 +530,7 @@ msgstr "検索バーで数式を計算"
|
||||
|
||||
#: searx/plugins/hash_plugin.py:34
|
||||
msgid "Hash plugin"
|
||||
msgstr ""
|
||||
msgstr "ハッシュプラグイン"
|
||||
|
||||
#: searx/plugins/hash_plugin.py:35
|
||||
msgid "Converts strings to different hash digests."
|
||||
@@ -565,7 +566,8 @@ msgstr "自分の情報"
|
||||
msgid ""
|
||||
"Displays your IP if the query is \"ip\" and your user agent if the query "
|
||||
"is \"user-agent\"."
|
||||
msgstr ""
|
||||
msgstr "クエリが\"ip\"の場合はあなたのIPを表示し、クエリが\"user-"
|
||||
"agent\"の場合はあなたのユーザーエージェントを表示します。"
|
||||
|
||||
#: searx/plugins/self_info.py:52
|
||||
msgid "Your IP is: "
|
||||
@@ -587,15 +589,15 @@ msgstr "このプラグインではcheck.torprogject.orgのようにTor 出口
|
||||
|
||||
#: searx/plugins/tor_check.py:69
|
||||
msgid "Could not download the list of Tor exit-nodes from"
|
||||
msgstr ""
|
||||
msgstr "Tor出口ノードのリストをダウンロードできませんでした"
|
||||
|
||||
#: searx/plugins/tor_check.py:81
|
||||
msgid "You are using Tor and it looks like you have the external IP address"
|
||||
msgstr ""
|
||||
msgstr "あなたはTorを使用しており、外部IPアドレスが確認されたようです"
|
||||
|
||||
#: searx/plugins/tor_check.py:85
|
||||
msgid "You are not using Tor and you have the external IP address"
|
||||
msgstr ""
|
||||
msgstr "あなたはTorを使用しておらず、外部IPアドレスが確認されました"
|
||||
|
||||
#: searx/plugins/tracker_url_remover.py:18
|
||||
msgid "Tracker URL remover"
|
||||
@@ -919,7 +921,7 @@ msgstr "例"
|
||||
|
||||
#: searx/templates/simple/answer/translations.html:21
|
||||
msgid "Definitions"
|
||||
msgstr ""
|
||||
msgstr "定義"
|
||||
|
||||
#: searx/templates/simple/answer/translations.html:30
|
||||
msgid "Synonyms"
|
||||
@@ -1078,7 +1080,7 @@ msgstr "許可する"
|
||||
|
||||
#: searx/templates/simple/preferences/answerers.html:5
|
||||
msgid "Keywords (first word in query)"
|
||||
msgstr ""
|
||||
msgstr "キーワード(クエリの最初の単語)"
|
||||
|
||||
#: searx/templates/simple/preferences/answerers.html:6
|
||||
#: searx/templates/simple/result_templates/packages.html:7
|
||||
@@ -1165,7 +1167,7 @@ msgstr "設定ハッシュ"
|
||||
|
||||
#: searx/templates/simple/preferences/doi_resolver.html:1
|
||||
msgid "Digital Object Identifier (DOI)"
|
||||
msgstr ""
|
||||
msgstr "デジタルオブジェクト識別子(DOI)"
|
||||
|
||||
#: searx/templates/simple/preferences/doi_resolver.html:6
|
||||
msgid "Open Access DOI resolver"
|
||||
@@ -1207,7 +1209,7 @@ msgstr "最大時間"
|
||||
|
||||
#: searx/templates/simple/preferences/favicon.html:2
|
||||
msgid "Favicon Resolver"
|
||||
msgstr "Favicon Resolver"
|
||||
msgstr "ファビコンリゾルバー"
|
||||
|
||||
#: searx/templates/simple/preferences/favicon.html:15
|
||||
msgid "Display favicons near search results"
|
||||
@@ -1992,4 +1994,3 @@ msgstr "動画を隠す"
|
||||
|
||||
#~ msgid "/"
|
||||
#~ msgstr ""
|
||||
|
||||
|
||||
Binary file not shown.
@@ -12,7 +12,7 @@ msgstr ""
|
||||
"Project-Id-Version: PROJECT VERSION\n"
|
||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
||||
"POT-Creation-Date: 2025-01-29 05:08+0000\n"
|
||||
"PO-Revision-Date: 2025-03-02 14:05+0000\n"
|
||||
"PO-Revision-Date: 2025-03-16 13:04+0000\n"
|
||||
"Last-Translator: gkkulik <gkkulik@noreply.codeberg.org>\n"
|
||||
"Language-Team: Silesian <https://translate.codeberg.org/projects/searxng/"
|
||||
"searxng/szl/>\n"
|
||||
@@ -513,11 +513,11 @@ msgstr "Jakość ôd zbioru"
|
||||
|
||||
#: searx/plugins/calculator.py:20
|
||||
msgid "Calculate mathematical expressions via the search bar"
|
||||
msgstr ""
|
||||
msgstr "Rachuj matymatyczne wyrazy we posku szukanio"
|
||||
|
||||
#: searx/plugins/hash_plugin.py:34
|
||||
msgid "Hash plugin"
|
||||
msgstr ""
|
||||
msgstr "Przidowek hashōw"
|
||||
|
||||
#: searx/plugins/hash_plugin.py:35
|
||||
msgid "Converts strings to different hash digests."
|
||||
@@ -529,7 +529,7 @@ msgstr "skrōt hash"
|
||||
|
||||
#: searx/plugins/hostnames.py:105
|
||||
msgid "Hostnames plugin"
|
||||
msgstr ""
|
||||
msgstr "Przidowek hostnames"
|
||||
|
||||
#: searx/plugins/hostnames.py:106
|
||||
msgid "Rewrite hostnames, remove results or prioritize them based on the hostname"
|
||||
|
||||
Reference in New Issue
Block a user