|
@@ -4,25 +4,37 @@ Auto download Anime Bangumi by Aria2c from magnet RSS
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
-0) Install `Aria2` and setup path env var.
|
|
|
+## Prerequest
|
|
|
|
|
|
-1) Create database: Run wighout any command-line argument to create SQLite database
|
|
|
+ Install `Aria2` and setup path env var.
|
|
|
|
|
|
-2) Config: Use SQLite management tool to edit Config and add entry to FeedSource
|
|
|
+## Create database
|
|
|
|
|
|
-|Key|ExampleValue|
|
|
|
-|---|---|
|
|
|
-|EnableMail|True|
|
|
|
-|SendMailHost|mail.example.com|
|
|
|
-|SendMailPort|25|Int32|
|
|
|
-|SendMailUser|mailbot|
|
|
|
-|SendMailPass|passofbot|
|
|
|
-|SendMailTarget|john.d@example.com|
|
|
|
-|SendMailTargetName|john doe|
|
|
|
-|WorkingDirectory|C:\BTWD|
|
|
|
-|DownloadDirectory|C:\BTDL|
|
|
|
+1) Setup SQLite database file path by
|
|
|
|
|
|
-3) Run:
|
|
|
+ - Env var `BanTurDbPath` or
|
|
|
+ - Neighboring executable with `.db3` extension name
|
|
|
+
|
|
|
+2) Run without any command-line argument to create SQLite database
|
|
|
+
|
|
|
+3) Config
|
|
|
+
|
|
|
+Use SQLite management tool to edit Config and add entry to FeedSource
|
|
|
+
|
|
|
+|Key |ExampleValue |Required
|
|
|
+|--- |--- |---
|
|
|
+|EnableMail |True | ✔
|
|
|
+|SendMailHost |mail.example.com | ⭕ EnableMail
|
|
|
+|SendMailPort |25 | ⭕ EnableMail
|
|
|
+|SendMailUser |mailbot | ⭕ EnableMail
|
|
|
+|SendMailPass |passofbot | ⭕ EnableMail
|
|
|
+|SendMailTarget |john.d@example.com | ⭕ EnableMail
|
|
|
+|SendMailTargetName |john doe | ⭕ EnableMail
|
|
|
+|WorkingDirectory |C:\BTWD | ✔
|
|
|
+|DownloadDirectory |C:\BTDL | ✔
|
|
|
+|WebProxy |http://example.com:8080 | ✖
|
|
|
+
|
|
|
+## Run:
|
|
|
|
|
|
- Empty command-line argument or `fetch` for external scheduler
|
|
|
- Pass `daemon 30` for 30 min interval loop running
|