Giter VIP home page Giter VIP logo

nonebot_plugin_animeres's Introduction

动漫资源获取插件

这个插件主要是网站爬取过来的数据,在使用命令进行搜索时候采用关键字的方式,比如天气之子这时搜索的是天气之子相关资源,如果获取的资源并不理想或者你只需要生肉(无字幕)资源时,你就需要用天气之子 raw天气之子 mkv这种多个关键字空格方式进行获取,这种方式准确度会比直接用天气之子精准且效果好,建议采用多关键字的方式进行搜索。

使用例子

使用例子

安装

nb plugin install nonebot-plugin-animeres

使用pip安装

pip install nonebot-plugin-animeres

  • 命令
    • 资源动漫资源
  • 参数
    • 资源名称

配置参数

ANIMERES_PROXY=""                      # 设置代理端口
ANIMERES_SITE=""                       # 选择资源站点
ANIMERES_FORWARD=false                 # 适用于QQ的转发形式发送
ANIMERES_LENGTH=3                      # 每次发送的数量,用-1表示全部取出
ANIMERES_FORMANT="{title}\n{magnet}"   # 发送的消息格式化
ANIMERES_ONESKIP=true                  # 当只有一个选项时跳过
ANIEMRES_PRIORITY=100

ANIMERES_PROXY

通过ANIMERES_PROXY参数可以设置代理来加速资源的获取或者获取不到的情况

ANIMERES_PROXY = http://127.0.0.1:1080

ANIMERES_SITE

有些情况下可能某站点关闭或者当前网络访问这个站点不佳可以尝试切换到其它站点,具体可切换站点如下。

  • dongmanhuayuan
  • myheartsite
  • anoneko(需要设置代理)

ANIMERES_FORWARD

在QQ中使用的合并转发发送消息

合并消息转发

ANIMERES_FORMANT

格式化字符串

标签 说明
title 资源名称
tag 资源标签类型
size 资源大小
magnet 种子链接

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.