Skip to main content

nhentai.net doujinshis downloader

Project description

b'nhentai\r\n=======\r\n _ _ _ _\r\n _ __ | | | | ___ _ __ | |_ __ _(_)\r\n | \'_ \\| |_| |/ _ \\ \'_ \\| __/ _` | |\r\n | | | | _ | __/ | | | || (_| | |\r\n |_| |_|_| |_|\\___|_| |_|\\__\\__,_|_|\r\n\r\n\xe3\x81\x82\xe3\x81\xaa\xe3\x81\x9f\xe3\x82\x82\xe5\xa4\x89\xe6\x85\x8b\xe3\x80\x82 \xe3\x81\x84\xe3\x81\x84\xe3\x81\xad? \r\n[![Build Status](https://travis-ci.org/RicterZ/nhentai.svg?branch=master)](https://travis-ci.org/RicterZ/nhentai) ![nhentai PyPI Downloads](https://pypistats.com/badge/nhentai.svg) \r\n\r\n\r\nnHentai is a CLI tool for downloading doujinshi from [nhentai.net](http://nhentai.net).\r\n\r\n### Installation\r\n\r\n git clone https://github.com/RicterZ/nhentai\r\n cd nhentai\r\n python setup.py install\r\n \r\n### Gentoo\r\n\r\n layman -fa glicOne\r\n sudo emerge net-misc/nhentai\r\n\r\n### Usage\r\nDownload specified doujinshi:\r\n```bash\r\nnhentai --id=123855,123866\r\n```\r\n\r\nSearch a keyword and download the first page:\r\n```bash\r\nnhentai --search="tomori" --page=1 --download\r\n```\r\n\r\nDownload your favourite doujinshi (login required):\r\n```bash\r\nnhentai --login "username:password" --download\r\n```\r\n\r\nDownload by tag name:\r\n```bash\r\nnhentai --tag lolicon --download\r\n```\r\n\r\n### Options\r\n\r\n+ `-t, --thread`: Download threads, max: 10 \r\n+ `--output`:Output dir of saving doujinshi \r\n+ `--tag`:Download by tag name \r\n+ `--timeout`: Timeout of downloading each image \r\n+ `--proxy`: Use proxy, example: http://127.0.0.1:8080/ \r\n+ `--login`: username:password pair of your nhentai account \r\n+ `--nohtml`: Do not generate HTML \r\n+ `--cbz`: Generate Comic Book CBZ File \r\n\r\n### nHentai Mirror\r\nIf you want to use a mirror, you should set up a reverse proxy of `nhentai.net` and `i.nhentai.net`.\r\nFor example:\r\n\r\n i.h.loli.club -> i.nhentai.net\r\n h.loli.club -> nhentai.net\r\n\r\nSet `NHENTAI` env var to your nhentai mirror.\r\n```bash\r\nNHENTAI=http://h.loli.club nhentai --id 123456\r\n```\r\n\r\n![](./images/search.png) \r\n![](./images/download.png) \r\n![](./images/viewer.png) \r\n\r\n### License \r\nMIT\r\n\r\n### \xe3\x81\x82\xe3\x81\xaa\xe3\x81\x9f\xe3\x82\x82\xe5\xa4\x89\xe6\x85\x8b\r\n![](./images/image.jpg)\r\n'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nhentai-0.3.0.tar.gz (14.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page