Skip to content

TwperBody/JM_ZIP_plugin

 
 

Repository files navigation

JMcomic PDF Plugin

基于langbotimage2pdf的JM ZIP插件🧩

使用方法❗

插件安装🛠️

配置完成 QChatGPT 主程序后使用管理员账号向机器人发送命令即可安装:

!plugin get https://github.com/TwperBody/JM_ZIP_plugin

或查看详细的插件安装说明

网络配置🛜

在napcat消息平台中新增HTTP服务器,主机为127.0.0.1,端口为3000

偏好配置🔧

修改config.yml中的base_dir为你自己实际的下载目录

# Github Actions 下载脚本配置
version: '2.0'

dir_rule:
  base_dir: C:\Users\Hello\Desktop\langbot\plugins\JMcomic\downloads
  rule: Bd_Atitle_Pindex

download:
  cache: true
  image:
    decode: true
    suffix: .jpg
  threading:
    # batch_count: 章节的批量下载图片线程数
    # 数值大,下得快,配置要求高,对禁漫压力大
    # 数值小,下得慢,配置要求低,对禁漫压力小
    # PS: 禁漫网页一般是一次请求50张图
    batch_count: 45

指令🤖

指令 参数 备注
/jm
/jm [jmID] jmID jmID为漫画ID

演示✨

常见问题❓

  • 本子下载到本地后无法发出?
    • 检查napcat控制台报错信息,大概率是napcat为非最新版本,更新napcat后重试
  • 其他问题欢迎issue或在交流群讨论

About

基于langbot与image2pdf的JM ZIP插件🧩

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%