From e0392fa98bf516728ba1457352d837e498a0e3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=B4=E7=A9=BA?= <3103908461@qq.com> Date: Mon, 29 Sep 2025 12:54:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=20mi-googlesearch-python=20?= =?UTF-8?q?=E5=BA=93=E4=BB=A3=E6=9B=BF=E5=A4=B1=E6=95=88=E7=9A=84=20google?= =?UTF-8?q?search-python=20=E5=BA=93=20(#2909)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * googlesearch-python库失效,用mi-googlesearch-python库平替,恢复谷歌搜索 * Update googlesearch-python dependency version --- pyproject.toml | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cdf66700e..64f0c926c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "faiss-cpu==1.10.0", "filelock>=3.18.0", "google-genai>=1.14.0", - "googlesearch-python>=1.3.0", + "mi-googlesearch-python==1.3.0.post1", "lark-oapi>=1.4.15", "lxml-html-clean>=0.4.2", "mcp>=1.8.0", diff --git a/requirements.txt b/requirements.txt index 7ab79a34b..5af016b28 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ qq-botpy chardet~=5.1.0 Pillow beautifulsoup4 -googlesearch-python +mi-googlesearch-python readability-lxml quart lxml_html_clean @@ -43,4 +43,4 @@ pydub sqlmodel deprecated sqlalchemy[asyncio] -audioop-lts; python_version>='3.13' \ No newline at end of file +audioop-lts; python_version>='3.13'