CLI tool to download doujins from Supported websites.
-
Download the binary from github for your operating system.
-
Open a terminal and go to the place where you downloaded the binary.
-
Run the binary as
<./ndoujin-cli-*> download <url> -p <folder location>
If you don't specify the -p flag then it will download it in the same folder.
You can also create a
config.jsonfile and set a download location.{ "path": "<download location>", "user-agent": "<YOUR USER AGENT>", "cookies": { "<website.name>": <cookie-value> } }If you use
-pflag and also have aconfig.jsonit will ignore theconfig.jsonpath. -
To download in bulk Create a
code.txtfile and enter url one line at a time.https://nhentai.net/g/534101 https://nhentai.net/g/533999
-
Create a
config.jsonfile and add cookies, user-agent parameter to it{ "cookies": { "<website name>": "<cookie value>" }, "user-agent": "<YOUR USER AGENT>" }You can get the user-agent from your browser just by searching
"what is my user agent"and paste it on config.json file.[IMPORTANT] Just make sure the cookies and user agent are from the same browser only.