Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Happypandax | 746 | 23 days ago | 79 | lgpl-3.0 | JavaScript | |||||
A cross-platform server and client application for managing and reading manga and doujinshi | ||||||||||
Nhentai | 685 | 1 | 3 days ago | 43 | May 02, 2022 | 2 | mit | Python | ||
nhentai doujinshi downloader | ||||||||||
Hdoujindownloader | 293 | 6 days ago | 103 | Lua | ||||||
An easy-to-use manga and dōjinshi downloader supporting 800+ different websites | ||||||||||
Happypanda | 157 | 3 years ago | 2 | February 19, 2017 | 42 | other | Python | |||
A cross platform manga/doujinshi manager with namespace & tag support | ||||||||||
Nhentaidownloader | 114 | 7 months ago | 10 | mit | TypeScript | |||||
A browser extension to download doujinshi from NHentai | ||||||||||
Hensuki | 56 | 2 years ago | mit | Shell | ||||||
A Multivendor doujin grabber using Bash magic: 0 API, 0 dependencies (formerly thru one-liner) supported several site. | ||||||||||
Hentai Downloader | 50 | 17 days ago | 7 | mit | JavaScript | |||||
ExHentai exhentai.org, e-hentai.org images gallery download to folder. | ||||||||||
Plugins | 20 | 2 years ago | 9 | lgpl-3.0 | Python | |||||
Plugins for HappyPanda X | ||||||||||
2021 11 15 Nhentai To Pdf | 8 | 7 months ago | Python | |||||||
downloads hentai from nhentai.net and converts to PDF | ||||||||||
Urbanity | 3 | a year ago | mit | Ruby | ||||||
Doujinshi downloader in Ruby |
?
nhentai is a CLI tool for downloading doujinshi from nhentai.net
From Github:
git clone https://github.com/RicterZ/nhentai cd nhentai python setup.py install
Build Docker container:
git clone https://github.com/RicterZ/nhentai cd nhentai docker build -t nhentai:latest . docker run --rm -it -v ~/Downloads/doujinshi:/output -v ~/.nhentai/:/root/.nhentai nhentai --id 123855
From PyPI with pip:
pip install nhentai
For a self-contained installation, use pipx:
pipx install nhentai
Pull from Dockerhub:
docker pull ricterz/nhentai docker run --rm -it -v ~/Downloads/doujinshi:/output -v ~/.nhentai/:/root/.nhentai ricterz/nhentai --id 123855
On Gentoo Linux:
layman -fa glicOne sudo emerge net-misc/nhentai
On NixOS:
nix-env -iA nixos.nhentai
IMPORTANT: To bypass the nhentai frequency limit, you should use --cookie and --useragent options to store your cookie and your user-agent.
nhentai --useragent "USER AGENT of YOUR BROWSER"
nhentai --cookie "YOUR COOKIE FROM nhentai.net"
NOTE:
The default download folder will be the path where you run the command (%cd% or $PWD).
Download specified doujinshi:
nhentai --id 123855 123866 123877
Download doujinshi with ids specified in a file (doujinshi ids split by line):
nhentai --file=doujinshi.txt
Set search default language
nhentai --language=english
Search a keyword and download the first page:
nhentai --search="tomori" --page=1 --download
# you also can download by tags and multiple keywords
nhentai --search="tag:lolicon, artist:henreader, tag:full color"
nhentai --search="lolicon, henreader, full color"
Download your favorites with delay:
nhentai --favorites --download --delay 1
Format output doujinshi folder name:
nhentai --id 261100 --format '[%i]%s'
Supported doujinshi folder formatter:
Other options:
Usage: nhentai --search [keyword] --download NHENTAI=https://nhentai-mirror-url/ nhentai --id [ID ...] nhentai --file [filename] Environment Variable: NHENTAI nhentai mirror url Options: # Operation options, control the program behaviors -h, --help show this help message and exit -D, --download download doujinshi (for search results) -S, --show just show the doujinshi information # Doujinshi options, specify id, keyword, etc. --id doujinshi ids set, e.g. 167680 167681 167682 -s KEYWORD, --search=KEYWORD search doujinshi by keyword -F, --favorites list or download your favorites # Page options, control the page to fetch / download --page-all all search results --page=PAGE, --page-range=PAGE page number of search results. e.g. 1,2-5,14 --sorting=SORTING sorting of doujinshi (recent / popular / popular-[today|week]) # Download options, the output directory, threads, timeout, delay, etc. -o OUTPUT_DIR, --output=OUTPUT_DIR output dir -t THREADS, --threads=THREADS thread count for downloading doujinshi -T TIMEOUT, --timeout=TIMEOUT timeout for downloading doujinshi -d DELAY, --delay=DELAY slow down between downloading every doujinshi --proxy=PROXY store a proxy, for example: -p "http://127.0.0.1:1080" -f FILE, --file=FILE read gallery IDs from file. --format=NAME_FORMAT format the saved folder name --dry-run Dry run, skip file download # Generate options, for generate html viewer, cbz file, pdf file, etc --html generate a html viewer at current directory --no-html don't generate HTML after downloading --gen-main generate a main viewer contain all the doujin in the folder -C, --cbz generate Comic Book CBZ File -P, --pdf generate PDF file --rm-origin-dir remove downloaded doujinshi dir when generated CBZ or PDF file --meta generate a metadata file in doujinshi format --regenerate-cbz regenerate the cbz file if exists # nhentai options, set cookie, user-agent, language, remove caches, histories, etc --cookie=COOKIE set cookie of nhentai to bypass Cloudflare captcha --useragent=USERAGENT, --user-agent=USERAGENT set useragent to bypass Cloudflare captcha --language=LANGUAGE set default language to parse doujinshis --clean-language set DEFAULT as language to parse doujinshis --save-download-history save downloaded doujinshis, whose will be skipped if you re-download them --clean-download-history clean download history --template=VIEWER_TEMPLATE set viewer template --legacy use legacy searching method
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=https://h.loli.club nhentai --id 123456