HarukaBot-Red
Project description
HarukaBot-Red
基于HarukaBot,适配Red协议
因go-cqhttp
停止维护,
且替代方案chronocat
不支持onebot
协议,故修改得到此版本,方便原hb
用户迁移。
安装
pip install haruka_bot_red
运行
hb run
原hb用户如何迁移?
- 卸载原环境中的
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为作者加速
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
haruka-bot-red-0.1.5.tar.gz
(37.3 kB
view hashes)
Built Distribution
Close
Hashes for haruka_bot_red-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2193ad582f485ef4c64bd0622748cee19d75a5daf00b5fe13b20c2a41ad52f98 |
|
MD5 | 8097a932a30eabc73453b2811660a5a7 |
|
BLAKE2b-256 | 902b416e38458457f589ca3501f0526a3bfa8a71450825dce4c17bb032051e01 |