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]