Skip to content

Commit b3a5891

Browse files
committed
docs: add hsu life tutorial.
1 parent d80e360 commit b3a5891

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ by your running environment.
4848
| [Talebook](#download-books-from-talebook) | <https://github.com/talebook/talebook> |||||
4949
| [SoBooks](#download-books-from-sobooks) | <https://sobooks.net> |||||
5050
| [Telegram](#download-books-from-telegram-groups) | <https://t.me> |||||
51+
| [Hsu Life](#download-books-from-hsu-life) | <https://book.hsu.life |||||
5152

5253
### Login Aliyundrive to get the `refreshToken`
5354

@@ -145,7 +146,7 @@ Global Flags:
145146
--verbose Print all the logs for debugging
146147
```
147148

148-
### Download books from Telegram groups.
149+
### Download books from Telegram groups
149150

150151
Example command: `bookhunter telegram --appID ****** --appHash ****** -k https://t.me/MothLib`
151152

@@ -177,3 +178,31 @@ Global Flags:
177178
-a, --user-agent string The request user-agent (default "Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/13.0 Firefox/13.0")
178179
--verbose Print all the logs for debugging
179180
```
181+
182+
### Download books from Hsu Life
183+
184+
Example command: `bookhunter hsu --username ****** --password ******`
185+
186+
```text
187+
Usage:
188+
bookhunter hsu [flags]
189+
190+
Flags:
191+
-d, --download string The book directory you want to use (default "/Users/Yufan/Developer/bookstairs/bookhunter")
192+
-f, --format strings The file formats you want to download (default [epub,azw3,mobi,pdf,zip])
193+
-h, --help help for hsu
194+
-i, --initial int The book id you want to start download (default 1)
195+
-p, --password string The hsu.life password
196+
--ratelimit int The allowed requests per minutes for every thread (default 30)
197+
-r, --rename Rename the book file by book id
198+
-t, --thread int The number of download thead (default 1)
199+
-u, --username string The hsu.life username
200+
201+
Global Flags:
202+
-c, --config string The config path for bookhunter
203+
-k, --keyword strings The keywords for books
204+
--proxy string The request proxy
205+
--retry int The retry times for a failed download (default 3)
206+
-s, --skip-error Continue to download the next book if the current book download failed (default true)
207+
--verbose Print all the logs for debugging
208+
```

0 commit comments

Comments
 (0)