mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-03-20 03:46:40 +08:00
* fix(docs): use absolute paths for images in public folder Relative paths (../image/) don't work on Vercel since the image/ folder at docs root is not tracked in git. Only public/image/ is tracked. Using absolute paths (/image/) correctly references the public folder assets. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix: update README image paths to public folder The images are tracked at docs/public/image/, not docs/image/. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2.4 KiB
2.4 KiB
下载器设置
WebUI 配置
{width=500}{class=ab-shadow-card}
常见问题
下载器地址
::: warning 注意 请勿使用 127.0.0.1 或 localhost 作为下载器地址。 :::
由于官方教程中 AB 在 Docker 的 Bridge 模式下运行,使用 127.0.0.1 或 localhost 会解析到 AB 自身,而非下载器。
- 如果 qBittorrent 也在 Docker 中运行,建议使用 Docker 网关地址:172.17.0.1。
- 如果 qBittorrent 运行在宿主机上,请使用宿主机的 IP 地址。
如果 AB 以 Host 模式运行,则可以使用 127.0.0.1 代替 Docker 网关地址。
::: warning 注意 Macvlan 会隔离容器网络。如果没有额外的网桥配置,容器无法访问其他容器或宿主机本身。 :::
下载路径问题
AB 中配置的路径仅用于生成对应的番剧文件路径。AB 本身不会直接管理该路径下的文件。
下载路径应该填什么?
此参数只需与下载器的配置匹配:
- Docker:如果 qB 使用
/downloads,则设置为/downloads/Bangumi。Bangumi可以改为任意名称。 - Linux/macOS:如果是
/home/usr/downloads或/User/UserName/Downloads,只需在末尾添加/Bangumi。 - Windows:将
D:\Media\改为D:\Media\Bangumi
config.json 配置选项
配置文件中的对应选项如下:
配置节:downloader
| 参数 | 说明 | 类型 | WebUI 选项 | 默认值 |
|---|---|---|---|---|
| type | 下载器类型 | 字符串 | 下载器类型 | qbittorrent |
| host | 下载器地址 | 字符串 | 下载器地址 | 172.17.0.1:8080 |
| username | 下载器用户名 | 字符串 | 下载器用户名 | admin |
| password | 下载器密码 | 字符串 | 下载器密码 | adminadmin |
| path | 下载路径 | 字符串 | 下载路径 | /downloads/Bangumi |
| ssl | 启用 SSL | 布尔值 | 启用 SSL | false |