Metadata-Version: 2.1
Name: nonebot-bison
Version: 0.4.3
Summary: Subscribe message from social medias
Home-page: https://github.com/felinae98/nonebot-bison
License: MIT
Keywords: nonebot,nonebot2,qqbot
Author: felinae98
Author-email: felinae225@qq.com
Requires-Python: >=3.9,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Dist: aiofiles (>=0.7.0,<0.8.0)
Requires-Dist: apscheduler (>=3.7.0,<4.0.0)
Requires-Dist: bs4 (>=0.0.1,<0.0.2)
Requires-Dist: expiringdict (>=1.2.1,<2.0.0)
Requires-Dist: feedparser (>=6.0.2,<7.0.0)
Requires-Dist: httpx (>=0.16.1,<1.0.0)
Requires-Dist: nonebot-adapter-cqhttp (>=2.0.0-alpha.15,<3.0.0)
Requires-Dist: nonebot-plugin-help (>=0.1.5,<0.2.0)
Requires-Dist: nonebot2 (>=2.0.0-alpha.15,<3.0.0)
Requires-Dist: pillow (>=8.1.0,<9.0.0)
Requires-Dist: playwright (>=1.17.2,<2.0.0)
Requires-Dist: pyjwt (>=2.1.0,<3.0.0)
Requires-Dist: python-socketio (>=5.4.0,<6.0.0)
Requires-Dist: tinydb (>=4.3.0,<5.0.0)
Description-Content-Type: text/markdown

<div align="center">
<h1>Bison </br>通用订阅推送插件</h1>


[![pypi](https://badgen.net/pypi/v/nonebot-bison)](https://pypi.org/project/nonebot-bison/)
[![license](https://img.shields.io/github/license/felinae98/nonebot-bison)](https://github.com/felinae98/nonebot-bison/blob/main/LICENSE)
[![felinae98](https://circleci.com/gh/felinae98/nonebot-bison.svg?style=shield)](https://circleci.com/gh/felinae98/nonebot-bison)
[![docker](https://img.shields.io/docker/image-size/felinae98/nonebot-bison)](https://hub.docker.com/r/felinae98/nonebot-bison)
[![qq group](https://img.shields.io/badge/QQ%E7%BE%A4-868610060-orange )](https://qm.qq.com/cgi-bin/qm/qr?k=pXYMGB_e8b6so3QTqgeV6lkKDtEeYE4f&jump_from=webapi)

[文档](https://nonebot-bison.vercel.app)|[开发文档](https://nonebot-bison.vercel.app/dev)
</div>

## 简介
一款自动爬取各种站点，社交平台更新动态，并将信息推送到QQ的机器人。
基于 [`NoneBot2`](https://github.com/nonebot/nonebot2 ) 开发（诞生于明日方舟的蹲饼活动）
<details>
<summary>本项目原名原名nonebot-hk-reporter</summary>

寓意本Bot要做全世界跑的最快的搬运机器人，后因名字过于暴力改名

</details>
本项目名称来源于明日方舟角色拜松——一名龙门的信使，曾经骑自行车追上骑摩托车的德克萨斯

支持的平台：
* 微博
* B站
* RSS
* 明日方舟
  * 塞壬唱片新闻
  * 游戏内公告
  * 版本更新等通知
* 网易云音乐
  * 歌手发布新专辑
  * 电台更新


## 功能
* 定时爬取指定网站
* 通过图片发送文本，防止风控
* 使用队列限制发送频率
* 使用网页后台管理Bot订阅

## 使用方法
**!!注意，如果要使用后台管理功能请使用pypi版本或者docker版本，如果直接clone源代码
需要按下面方式进行build**
```bash
cd ./admin-frontend
yarn && yarn build
```
可以使用Docker，docker-compose，作为插件安装在nonebot中，或者直接运行  
参考[文档](https://nonebot-bison.vercel.app/usage/#%E4%BD%BF%E7%94%A8)

## FAQ
1. 报错`TypeError: 'type' object is not subscriptable`  
    本项目使用了Python 3.9的语法，请将Python版本升级到3.9及以上，推荐使用docker部署
2. bot不理我  
    请确认自己是群主或者管理员，并且检查`COMMAND_START`环境变量是否设为`[""]`
3. 微博漏订阅了
    微博更新了新的风控措施，某些含有某些关键词的微博会获取不到。

## 参与开发
欢迎各种PR，参与开发本插件很简单，只需要对相应平台完成几个接口的编写就行。你只需要一点简单的爬虫知识就行。

如果对整体框架有任何意见或者建议，欢迎issue。

## 鸣谢
* [`go-cqhttp`](https://github.com/Mrs4s/go-cqhttp)：简单又完善的 cqhttp 实现
* [`NoneBot2`](https://github.com/nonebot/nonebot2)：超好用的开发框架
* [`HarukaBot`](https://github.com/SK-415/HarukaBot/): 借鉴了大体的实现思路
* [`rsshub`](https://github.com/DIYgod/RSSHub)：提供了大量的api

## License
MIT


