HarukaBot-Red
基于HarukaBot,适配Red协议
因go-cqhttp停止维护,
且替代方案chronocat不支持onebot协议,故修改得到此版本,方便原hb用户迁移。
安装
pip install haruka_bot_red
运行
hb run
原hb用户如何迁移?
[!TIP] 如果你是新用户,或许并不需要以下内容
- 卸载原环境中的
haruka_bot,或新建虚拟环境,并安装haruka_bot_red - 在原
.env.prod中添加行:DRIVER=~fastapi+~httpx+~websockets RED_AUTO_DETECT=True
- 运行
hb run
相比原HarukaBot有何区别?
- 适配
Red协议而非Onebot, 可与chronocat链接; - 添加配置项
HARUKA_BROWSER_UA和HARUKA_BROWSER_COOKIE, 用户可自行配置, 大幅降低风控概率; - 使用
Restful Api爬取动态列表,相比gRPC接口更稳定,更新频率低; - 删除自动同意好友申请功能;
README完善中,点个star为作者加速
Metadata
Release files for haruka_bot_red 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| haruka-bot-red-0.1.7.tar.gz | 37.4 kB | Without provenance | Details for haruka-bot-red-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| haruka_bot_red-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for haruka_bot_red-0.1.7-py3-none-any.whl |
Total release size: 89.9 kB
Release files / haruka-bot-red-0.1.7.tar.gz
| Download URL | haruka-bot-red-0.1.7.tar.gz |
|---|---|
| Size | 37.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea251bc582ff0888ec6e2686dcc4844072e5454f663231a4bf80fe7cee1811a7
|
|
BLAKE2b-256 checksum How to use checksums |
59ca7de19f98210c54a3905951b1681b45ac34a9ef3a4b9d5e3a1dbbe186ad69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.2 CPython/3.10.12
|
Release files / haruka_bot_red-0.1.7-py3-none-any.whl
| Download URL | haruka_bot_red-0.1.7-py3-none-any.whl |
|---|---|
| Size | 52.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96e9d4871994978f4ebc24dbb8ed8044141904e81aed8f51909ded94e3088f4b
|
|
BLAKE2b-256 checksum How to use checksums |
ec4dd580f5792b1b36269be7f6bcb73ad77a91cec15e5759b730c1c9ab2ebea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.2 CPython/3.10.12
|
Security for haruka_bot_red 0.1.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.