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.5.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_animeres-1.0.5.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.9.18 Windows/10

File hashes

Hashes for nonebot_plugin_animeres-1.0.5.tar.gz
Algorithm Hash digest
SHA256 e9ea800da4ec24066dc71895c48f13732d5485f81bb6933da5c6d3207445db13
MD5 10b131eb9b8131ab208a8e80aafd5ff2
BLAKE2b-256 5d16a7638add1f3fc61ba7eb101bc13165f4deb6aa4237c11db28785cae0f12e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_animeres-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 90037cee8f1be012660fb795e3dfa6b48b6cb03eac4b028d361e377e95e223db
MD5 8ca1f2810bfc35ee77fe27aed09ae376
BLAKE2b-256 c138d79214b273531bb1c6db9389579bd88ef85e52cfa0182d1734f9d4aada22

See more details on using hashes here.

Supported by

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