mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
Bumps the dev-update group in /admin-frontend with 6 updates: | Package | From | To | | --- | --- | --- | | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `5.16.5` | `6.1.2` | | [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `5.62.0` | `6.5.0` | | [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `5.62.0` | `6.5.0` | | [eslint](https://github.com/eslint/eslint) | `8.27.0` | `8.48.0` | | [eslint-config-airbnb-typescript](https://github.com/iamturns/eslint-config-airbnb-typescript) | `17.0.0` | `17.1.0` | | [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) | `7.33.1` | `7.33.2` | Updates `@testing-library/jest-dom` from 5.16.5 to 6.1.2 - [Release notes](https://github.com/testing-library/jest-dom/releases) - [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.5...v6.1.2) Updates `@typescript-eslint/eslint-plugin` from 5.62.0 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 5.62.0 to 6.5.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.5.0/packages/parser) Updates `eslint` from 8.27.0 to 8.48.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.27.0...v8.48.0) Updates `eslint-config-airbnb-typescript` from 17.0.0 to 17.1.0 - [Release notes](https://github.com/iamturns/eslint-config-airbnb-typescript/releases) - [Changelog](https://github.com/iamturns/eslint-config-airbnb-typescript/blob/master/CHANGELOG.md) - [Commits](https://github.com/iamturns/eslint-config-airbnb-typescript/compare/v17.0.0...v17.1.0) Updates `eslint-plugin-react` from 7.33.1 to 7.33.2 - [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases) - [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.33.1...v7.33.2) --- updated-dependencies: - dependency-name: "@testing-library/jest-dom" dependency-type: direct:development update-type: version-update:semver-major dependency-group: dev-update - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major dependency-group: dev-update - dependency-name: "@typescript-eslint/parser" dependency-type: direct:development update-type: version-update:semver-major dependency-group: dev-update - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-update - dependency-name: eslint-config-airbnb-typescript dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dev-update - dependency-name: eslint-plugin-react dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dev-update ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.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%