HarukaBot-Red
Project description
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为作者加速
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.7.tar.gz
(37.4 kB
view hashes)
Built Distribution
Close
Hashes for haruka_bot_red-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96e9d4871994978f4ebc24dbb8ed8044141904e81aed8f51909ded94e3088f4b |
|
MD5 | 62af2fd8d68b09392c551b327262bddd |
|
BLAKE2b-256 | ec4dd580f5792b1b36269be7f6bcb73ad77a91cec15e5759b730c1c9ab2ebea1 |