Coder Social home page Coder Social logo

nonebot_plugin_biliav's Introduction

nonebot

nonebot_plugin_biliav

✨ NoneBot biliav小程序 查看插件 ✨

license pypi python

使用方式

发送: av170001

或者BV17x411w7KC

或者https://b23.tv/m9e5LbH (可以通过b_b23tv配置项开关是否解析b23.tv的链接)

或者av170001BV17x411w7KChttps://b23.tv/m9e5LbH ,会返回3条视频信息(即支持单条消息解析多条不同类型或同类型的视频号,可以通过b_sleep_time配置项配置返回的消息之间的延迟)

返回b站小程序对应的视频

配置

b_comments:

作用: 是否携带前三热评

可选项: [True, False]

默认值: False

b_b23tv:

作用: 是否解析b23.tv链接

可选项: [True, False]

默认值: True

b_sleep_time:

作用: 单条消息携带多个视频号时,返回的消息之间的延迟

可选项: [int]

默认值: 2

安装

  • 通过pip:

      1. pip install nonebot_plugin_biliav
      1. 在bot.py中添加下面这行代码: nonebot.load_plugin("nonebot_plugin_biliav")
  • 通过nb-cli:

      1. 将命令行的路径移动到bot.py所在目录下
      1. nb plugin install nonebot-plugin-biliav
  • 通过源码:

      1. 将本项目,通过git clone或下载压缩包并解压的方式,放在bot_folder/src/plugins/下,即下载好文件后,目录应是bot_folder/src/plugins/nonebot_plugin_biliav/
      1. 正常运行bot即可

已适配nonebot beta版本 感谢@anlen123 https://github.com/anlen123

功能更新 感谢 @RiotGamesU https://github.com/RiotGamesU

nonebot_plugin_biliav's People

Contributors

knva avatar riotgamesu avatar anlen123 avatar

Stargazers

 avatar  avatar 久绊A avatar LIM avatar auqhjjqdo avatar  avatar antileaf avatar  avatar  avatar Tenvi avatar Yaklo avatar HCLonely avatar dakaiye avatar 津轻年回 avatar  avatar  avatar SK avatar 演变 avatar

Watchers

James Cloos avatar  avatar  avatar

nonebot_plugin_biliav's Issues

接口失效了

最近好像用不了,显示发送者版本过低,无法展示内容。之前都可以用的。go-cqhttp是最新版

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.