Skip to main content

动漫资源获取插件

Project description

动漫资源获取插件

这个插件主要是网站爬取过来的数据,在使用命令进行搜索时候采用关键字的方式,比如天气之子这时搜索的是天气之子相关资源,如果获取的资源并不理想或者你只需要生肉(无字幕)资源时,你就需要用天气之子 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 种子链接

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_animeres-1.0.4.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_animeres-1.0.4-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_animeres-1.0.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_animeres-1.0.4.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.10.13 Windows/10

File hashes

Hashes for nonebot_plugin_animeres-1.0.4.tar.gz
Algorithm Hash digest
SHA256 5f16c9bd263a5ebf8a4869eb927fc202aae12159fe3d623c19d86e1a4af775f9
MD5 3eb553bd720296598e493759dd0d1ba0
BLAKE2b-256 1374fd2e3eff74cec2baa089a21443119c1d7f5444f7c3e38480199b2e94d06b

See more details on using hashes here.

File details

Details for the file nonebot_plugin_animeres-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_animeres-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3d8d3526f920650e561df6843b0fe14fc0e91fdbe0e0baa208790f7c242ebba1
MD5 1e19c51e2d6522cbd1fe5ffd5b9239c8
BLAKE2b-256 956aa5e201ffaede0b66d62170990022931de2a28474a78fd88efb1618098086

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page