Shop with lower prices by searching with alternative keywords.
Project description
📖 简介
节选自原网站:
同一件商品,不同的搜索词,价格可能会天差地别。
这个工具旨在帮助你找到最便宜的搜索词:
输入你想搜索的商品名,AI 会给出低价的替代品,结果可能不准,开心就好 :)
经济寒冬,商品可以平替,但你的生活无法被平替。
💿 安装
以下提到的方法 任选其一 即可
[推荐] 使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-pingti
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-pingti
pdm
pdm add nonebot-plugin-pingti
poetry
poetry add nonebot-plugin-pingti
conda
conda install nonebot-plugin-pingti
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分的 plugins
项里追加写入
[tool.nonebot]
plugins = [
# ...
"nonebot_plugin_pingti"
]
⚙️ 配置
在 NoneBot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 说明 |
---|---|---|---|
PINGTI_PROXY |
否 | 无 | 请求使用的代理地址 |
PINGTI_REQUEST_TIMEOUT |
否 | 5 |
请求超时时间,单位为秒 |
PINGTI_SEND_TIP |
否 | True |
缓存中不存在回答时是否发送提示消息 |
PINGTI_RECALL_TIP |
否 | True |
发送提示消息后是否自动撤回 |
🎉 使用
指令:平替
📞 联系
QQ:3076823485
Telegram:@lgc2333
吹水群:1105946125
邮箱:lgc2333@126.com
💡 鸣谢
pingti.xyz
- 服务提供
ilharp/koishi-plugin-pingti
抄袭借鉴
💰 赞助
感谢大家的赞助!你们的赞助将是我继续创作的动力!
-
赞助二维码(点击展开)
📝 更新日志
0.1.4
- 修复 #2
- 兼容 Pydantic V2
0.1.3
- 修复无法使用的问题
0.1.2
- 实现 #1:
- 重命名配置项
PROXY
->PINGTI_PROXY
- 添加配置项
PINGTI_SEND_TIP
- 添加配置项
PINGTI_RECALL_TIP
- 重命名配置项
0.1.1
- 优化部分逻辑
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_pingti-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4563f473c7e6f488fd65a054884d94398600d9721fb546ea0c57fdc8f2e20384 |
|
MD5 | 387763a32a72b11b2a76e855e188148e |
|
BLAKE2b-256 | 27331c3d17cddbeeacc157b8c842902397c049ef8fba93ceea85f7310c726384 |
Close
Hashes for nonebot_plugin_pingti-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90358cf85ebd8baa306b4a4e2ebbcb1f34f64aba3d64f85d949936be622469ac |
|
MD5 | aa229290781c29735aa5720b96ce0bc0 |
|
BLAKE2b-256 | 0be26a7add6ea1ae9101da49bec3a2790fceb1b68620fad7722ac735132072db |