---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# nhentai

> Download doujinshis from nhentai.
> More information: <https://github.com/RicterZ/nhentai>.

- Set cookies:

`nhentai --cookie "csrftoken={{TOKEN}}; sessionid={{ID}}"`

- Download a specific doujin:

`nhentai --id {{number}}`

- Download the first page of your favorites:

`nhentai --favorites --download --delay 1`

- Download specific pages of your favorites:

`nhentai --favorites --pages {{start_page}}-{{end_page}} --download --delay 1`
