Skip to content

devyuji/ndoujin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndoujin-cli

CLI tool to download doujins from Supported websites.

Download

How to use

  • 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.json file and set a download location.

    {
      "path": "<download location>",
      "user-agent": "<YOUR USER AGENT>",
      "cookies": {
        "<website.name>": <cookie-value>
      }
    }

    If you use -p flag and also have a config.json it will ignore the config.json path.

  • To download in bulk Create a code.txt file and enter url one line at a time.

      https://nhentai.net/g/534101
      https://nhentai.net/g/533999

If the website is using Cloudflare protection or any other then follow this steps

  • Create a config.json file 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.

About

CLI tool to download doujins from websites.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors