mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
Bumps the actions-update group with 5 updates: | Package | From | To | | --- | --- | --- | | [actions/checkout](https://github.com/actions/checkout) | `3` | `4` | | [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `2` | `3` | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `2` | `3` | | [docker/build-push-action](https://github.com/docker/build-push-action) | `4` | `5` | | [docker/login-action](https://github.com/docker/login-action) | `2` | `3` | Updates `actions/checkout` from 3 to 4 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) Updates `docker/setup-qemu-action` from 2 to 3 - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3) Updates `docker/setup-buildx-action` from 2 to 3 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) Updates `docker/build-push-action` from 4 to 5 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v4...v5) Updates `docker/login-action` from 2 to 3 - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-update - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-update - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-update - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-update - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions-update ... Signed-off-by: dependabot[bot] <support@github.com>
简介
一款自动爬取各种站点,社交平台更新动态,并将信息推送到 QQ 的机器人。
基于 NoneBot2
开发(诞生于明日方舟的蹲饼活动)
本项目原名原名nonebot-hk-reporter
寓意本 Bot 要做全世界跑的最快的搬运机器人,后因名字过于暴力改名
支持的平台:
- 微博
- Bilibili
- Bilibili 直播
- RSS
- 明日方舟
- 网易云音乐
- FF14
- mcbbs 幻翼块讯
功能
- 定时爬取指定网站
- 通过图片发送文本,防止风控
- 使用队列限制发送频率
- 使用网页后台管理 Bot 订阅
- 使用可以设置权重的调度器按时间调节不同账号的权重
使用方法
!!注意,如果要使用后台管理功能请使用 pypi 版本或者 docker 版本,如果直接 clone 源代码 需要按下面方式进行 build
cd ./admin-frontend
pnpm && pnpm run build
可以使用 Docker,docker-compose,作为插件安装在 nonebot 中,或者直接运行
在群里 at Bot 或者直接私聊 Bot “添加订阅”,按照提示输入需要订阅的账号,就可以愉快接收消息了。
参考文档
FAQ
- 报错
TypeError: 'type' object is not subscriptable
本项目使用了 Python 3.10 的语法,请将 Python 版本升级到 3.10 及以上,推荐使用 docker 部署 - bot 不理我
请确认自己是群主或者管理员,并且检查COMMAND_START
环境变量是否设为[""]
或者按照COMMAND_START
中的设置添加命令前缀,例:COMMAND_START=["/"]
则应发送/添加订阅
- 微博漏订阅了 微博更新了新的风控措施,某些含有某些关键词的微博会获取不到。
- 无法使用后台管理页面
- 确认自己正确配置了 nonebot 的端口,如果在远程或容器外访问网页请确保
HOST=0.0.0.0
- 确认自己的云服务器的防火墙配置正确
- 确认自己使用了正确的方法安装插件
- 确认自己正确配置了 nonebot 的端口,如果在远程或容器外访问网页请确保
参与开发
欢迎各种 PR,参与开发本插件很简单,只需要对相应平台完成几个接口的编写就行。你只需要一点简单的爬虫知识就行。
如果对整体框架有任何意见或者建议,欢迎 issue。
鸣谢
License
MIT
Languages
Python
90%
TypeScript
7.8%
CSS
0.7%
Jinja
0.6%
Dockerfile
0.6%
Other
0.3%