Giter VIP home page Giter VIP logo

nonebot-bison's Introduction

Bison
通用订阅推送插件

pypi license action docker codecov qq group

文档|开发文档

简介

一款自动爬取各种站点,社交平台更新动态,并将信息推送到 QQ 的机器人。 基于 NoneBot2 开发(诞生于明日方舟的蹲饼活动)

本项目原名原名nonebot-hk-reporter

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

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

支持的平台:

  • 微博
    • 图文
    • 视频
    • 纯文字
    • 转发
  • Bilibili
    • 视频
    • 图文
    • 专栏
    • 转发
    • 纯文字
  • Bilibili 直播
    • 开播提醒
  • RSS
    • 富文本转换为纯文本
    • 提取出所有图片
  • 明日方舟
    • 塞壬唱片新闻
    • 游戏内公告
    • 版本更新等通知
    • 泰拉记事社漫画
  • 网易云音乐
    • 歌手发布新专辑
    • 电台更新
  • FF14
    • 游戏公告

功能

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

使用方法

!!注意,如果要使用后台管理功能请使用 pypi 版本或者 docker 版本,如果直接 clone 源代码 需要按下面方式进行 build

cd ./admin-frontend
yarn && yarn build

可以使用 Docker,docker-compose,作为插件安装在 nonebot 中,或者直接运行
参考文档

FAQ

  1. 报错TypeError: 'type' object is not subscriptable
    本项目使用了 Python 3.9 的语法,请将 Python 版本升级到 3.9 及以上,推荐使用 docker 部署
  2. bot 不理我
    请确认自己是群主或者管理员,并且检查COMMAND_START环境变量是否设为[""] 或者按照COMMAND_START中的设置添加命令前缀,例: COMMAND_START=["/"]则应发送/添加订阅
  3. 微博漏订阅了 微博更新了新的风控措施,某些含有某些关键词的微博会获取不到。
  4. 无法使用后台管理页面
    1. 确认自己正确配置了 nonebot 的端口,如果在远程或容器外访问网页请确保HOST=0.0.0.0
    2. 确认自己的云服务器的防火墙配置正确
    3. 确认自己使用了正确的方法安装插件

参与开发

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

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

鸣谢

License

MIT

nonebot-bison's People

Contributors

felinae98 avatar azidecupric avatar he0119 avatar pre-commit-ci[bot] avatar github-actions[bot] avatar sichongzou avatar dependabot[bot] avatar meetwq avatar panda361 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.