2018-12-30 14:13:27 +08:00
2017-06-18 16:48:54 +08:00
2018-12-30 14:13:27 +08:00
2017-03-17 20:14:42 +08:00
2018-11-04 21:44:59 +08:00
2015-04-19 18:58:07 +08:00
2018-08-12 22:48:26 +08:00
2018-12-30 14:06:15 +08:00
2016-10-17 21:00:28 +08:00

nhentai

       _   _            _        _
 _ __ | | | | ___ _ __ | |_ __ _(_)
| '_ \| |_| |/ _ \ '_ \| __/ _` | |
| | | |  _  |  __/ | | | || (_| | |
|_| |_|_| |_|\___|_| |_|\__\__,_|_|

あなたも変態。 いいね?
Build Status nhentai PyPI Downloads

nHentai is a CLI tool for downloading doujinshi from nhentai.net.

Installation

git clone https://github.com/RicterZ/nhentai
cd nhentai
python setup.py install

Gentoo

layman -fa glicOne
sudo emerge net-misc/nhentai

Usage

Download specified doujinshi:

nhentai --id=123855,123866

Search a keyword and download the first page:

nhentai --search="tomori" --page=1 --download

Download your favourite doujinshi (login required):

nhentai --login "username:password" --download

Download by tag name:

nhentai --tag lolicon --download

Options

  • -t, --thread: Download threads, max: 10
  • --output:Output dir of saving doujinshi
  • --tag:Download by tag name
  • --timeout: Timeout of downloading each image
  • --proxy: Use proxy, example: http://127.0.0.1:8080/
  • --login: username:password pair of your nhentai account
  • --nohtml: Do not generate HTML
  • --cbz: Generate Comic Book CBZ File

nHentai Mirror

If you want to use a mirror, you should set up a reverse proxy of nhentai.net and i.nhentai.net. For example:

i.h.loli.club -> i.nhentai.net
h.loli.club -> nhentai.net

Set NHENTAI env var to your nhentai mirror.

NHENTAI=http://h.loli.club nhentai --id 123456



License

MIT

あなたも変態

Description
nhentai doujinshi downloader
Readme MIT 6.9 MiB
Languages
Python 77.7%
JavaScript 10.4%
CSS 8.8%
HTML 3%
Dockerfile 0.1%