English, 中文说明
Usage: iwaradl [options] URL1 URL2 ...
Options:
-c string
config file (default "config.yaml")
-l string
URL list file
-r resume unfinished job
--debug
enable debug logging
--root-dir string
root directory for videos
--use-sub-dir
use user name as sub directory
--auth-token string
authorization token
--proxy-url string
proxy url
--thread-num int
concurrent download thread number (default 3)
--max-retry int
max retry times (default 3)
rootDir: "D:\\MMD" # root dir for videos. or /home/user/MMD in linux
useSubDir: false # use user name as sub dir
authorization: "" # token for login, without leading "Bearer "
proxyUrl: "http://127.0.0.1:11081" # proxy url
threadNum: 4 # concurrent download thread num
maxRetry: 3 # max retry times
The token can be got by: open the browser console on the iwara webpage, execute localStorage.getItem("token")
, and the returned value is the token.
URL can be a video page or a user page.
URL list file is a text file, each line is a URL.
To download, either URL or URL list file is required.
Unfinished jobs are saved in rootDir/jobs.list
, you can use -r
to resume them.
Finished jobs are saved in rootDir/history.list
.
Command line arguments have higher priority than config file values.