Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.55 KB

File metadata and controls

55 lines (39 loc) · 1.55 KB

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.