Skip to content

Latest commit

 

History

History
38 lines (36 loc) · 1.05 KB

README.md

File metadata and controls

38 lines (36 loc) · 1.05 KB

dl-talebook

Downloading books from talebook server , inspired from gist https://gist.github.com/syhily/9feb936bcaebf2beec567733810f4666 .

  1. 并发任务
  2. 断点下载
  3. 纯golang编写, 可以运行在群晖上

Demo

demo

Install

go install github.com/hellojukay/dl-talebook@latest

Help

hellojukay@local dl-talebook (main) $ ./dl-talebook -h
Usage of ./dl-talebook:
  -c int
        maximum number of concurrent download tasks allowed per second (default 1)
  -cookie string
        http cookie
  -dir string
        data dir (default "./")
  -password string
        password
  -site string
        tabebook web site (default "https://book.codefine.site:6870/")
  -start-index int
        start book id
  -timeout duration
        http timeout (default 10s)
  -user-agent string
        http userAgent (default "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36")
  -username string
        username
  -verbose
        show debug log