From e19148d0bbb135f01cadadcb247be8f44e952915 Mon Sep 17 00:00:00 2001 From: koide Date: Sun, 22 Feb 2026 23:54:24 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=83=97=E3=83=A9=E3=82=A4=E3=83=99?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=83=AA=E3=83=9D=E3=82=B8=E3=83=88=E3=83=AA?= =?UTF-8?q?URL=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs-tech/searxng-local-search/index.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/docs-tech/searxng-local-search/index.md b/docs-tech/searxng-local-search/index.md index dcc5f03..67ab806 100644 --- a/docs-tech/searxng-local-search/index.md +++ b/docs-tech/searxng-local-search/index.md @@ -40,17 +40,7 @@ SearXNGは**プライバシー重視のメタ検索エンジン**(オープン - Docker環境(LXC、VM、物理サーバー等) - ポート8080が空いている -### ワンライナーでセットアップ - -```bash -curl -fsSL https://gitea.swallow.wjg.jp/swallow/searxng-setup/raw/branch/main/setup.sh | sudo bash -``` - -:::tip 手動セットアップ -プライベートリポジトリなので、以下の手順でも可能です。 -::: - -### 手動セットアップ +### Docker Composeでセットアップ ```bash # 必要なパッケージ @@ -155,7 +145,7 @@ def search(query: str, num_results: int = 5) -> list: """SearXNGで検索""" response = requests.get( "http://localhost:8080/search", - params={"q": query, "format": "json"} + params={"q": query, "format": json} ) return response.json()["results"][:num_results]