Skip to content

Conversation

@XXXxx7258
Copy link
Contributor

@XXXxx7258 XXXxx7258 commented Sep 28, 2025

fixes #XYZ


Motivation / 动机

恢复谷歌搜索

Modifications / 改动点

更换原有的依赖库

Verification Steps / 验证步骤

原来搜索失败直接返回[],没报错

Screenshots or Test Results / 运行截图或测试结果

Compatibility & Breaking Changes / 兼容性与破坏性变更

  • 这是一个破坏性变更 (Breaking Change)。/ This is a breaking change.
  • 这不是一个破坏性变更。/ This is NOT a breaking change.

Checklist / 检查清单

  • 😊 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。/ If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
  • 👀 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”。/ My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
  • 🤓 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到了 requirements.txtpyproject.toml 文件相应位置。/ I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
  • 😮 我的更改没有引入恶意代码。/ My changes do not introduce malicious code.

@Soulter
Copy link
Member

Soulter commented Sep 29, 2025

请问这个新的库有仓库地址吗?我在 pypi 上看到仍然指向 googlesearch-python 的仓库

@XXXxx7258
Copy link
Contributor Author

XXXxx7258 commented Sep 29, 2025

请问这个新的库有仓库地址吗?我在pypi上仍然指向googlesearch-python的仓库

mi-googlesearch-python 是 googlesearch-python 的一个修复版。作者为 https://github.com/edgeinfinity1 ,从原仓库frok。提到 Nv7-GitHub/googlesearch#100 。原作者已经八九个月没更新了

@Soulter Soulter changed the title googlesearch-python库失效,用mi-googlesearch-python库平替,恢复谷歌搜索 fix: 用 mi-googlesearch-python 库代替失效的 googlesearch-python 库 Sep 29, 2025
@Soulter Soulter merged commit e0392fa into AstrBotDevs:master Sep 29, 2025
5 checks passed
@XXXxx7258 XXXxx7258 deleted the patch-1 branch September 29, 2025 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants