1 | # qBittorrent
|
2 |
|
3 | qBittorrent 是個跨平台的 torrent 下載軟體,`dmhy-subscribe` 可以直接呼叫它來幫忙下載。
|
4 |
|
5 | * [安裝方法](#安裝方法)
|
6 | * [開啟 Web UI](#開啟-Web-UI)
|
7 | * [dmhy-subscribe 的設定](#dmhy-subscribe-的設定)
|
8 | * [使用範例](#使用範例)
|
9 |
|
10 | ## 安裝方法
|
11 |
|
12 | * Ubuntu: 先 `sudo add-apt-repository ppa:qbittorrent-team/qbittorrent-stable && sudo apt-get update` 然後再 `sudo apt-get install qbittorrent`
|
13 | * Windows/Mac: 從[官方下載頁面](https://www.qbittorrent.org/download.php)直接下載安裝
|
14 |
|
15 | ## 開啟 Web UI
|
16 |
|
17 | `dmhy-subscribe` 是透過它的 Web UI 來呼叫的,所以必須要打開這個功能才能正常使用
|
18 |
|
19 | 打開方法就直接進入 qBittorrent 的設定找到 Web UI,然後打開它並根據自己的需求改一些設定
|
20 |
|
21 | 範例(Windows 10): ![qBittorrent Web Ui page](https://i.imgur.com/9RGAVME.png)
|
22 |
|
23 | ## dmhy-subscribe 的設定
|
24 |
|
25 | 如果你有修改過它的 port 的話(預設 8080),要先執行下方的指令,沒有的話可以跳過
|
26 |
|
27 | ```bash
|
28 | $ dmhy config qbittorrent-url http://localhost:1234/ # 1234 是你修改過的 port
|
29 | ```
|
30 |
|
31 | 再來是要設定你登入 Web UI 的帳密
|
32 |
|
33 | ```bash
|
34 | $ dmhy config qbittorrent-auth username:password # 後面那串請以"帳號:密碼"的格式來輸入
|
35 | ```
|
36 |
|
37 | ## 使用範例
|
38 |
|
39 | ```bash
|
40 | $ dmhy add "搖曳露營,DHR,720,繁體,Yuru"
|
41 | # 假設搖曳露營的訂閱識別碼為 ALR
|
42 | $ dmhy #下載全部
|
43 | $ dmhy dl ALR-08 #下載單集
|
44 | ```
|