-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.yml
More file actions
47 lines (42 loc) · 1.55 KB
/
config.yml
File metadata and controls
47 lines (42 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Github Actions 下载脚本配置
version: '2.0'
################################################
# 特别注意:
# 如果你是使用Docker部署LangBot的用户,请按照以下步骤修改配置文件:
#
# 将dir_rule中的base_dir一项修改为LangBot容器内的可达路径
#
# 根据LangBot的挂载配置,你目前可以在这两个目录下选择你想存储PDF的位置
# - /app/data
# - /app/plugins
#
# 例如:"/app/plugins/JM_PDF_plugin/downloads/"
################################################
dir_rule:
base_dir: "C:\\Users\\Hello\\Desktop\\downloads" # 漫画/PDF的存储目录(注意转义字符的使用)
rule: Bd_Aid_Pindex
# 域名配置,若均无法访问可尝试用“#”注释client所有部分,以使用默认配置的域名列表
client:
impl: api
domain:
api:
- www.cdnmhws.cc
- www.cdnuc.vip
- www.cdnmhwscc.vip
- www.cdnblackmyth.club
# 下载配置,无需关注
download:
cache: true # 如果要下载的文件在磁盘上已存在,不用再下一遍了吧?
image:
decode: true # JM的原图是混淆过的,要不要还原?
suffix: .jpg # 把图片都转为.jpg格式
threading:
# batch_count: 章节的批量下载图片线程数
batch_count: 45
# jmcomic包插件项配置,非必需配置
plugins:
after_init:
- plugin: login # 登录插件,以下载某些需要登录才能下载的漫画,需要配置登录信息
kwargs:
username: your_username # 用户名
password: your_password # 密码