Git Product home page Git Product logo

nhentai's Introduction

nhentai

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

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

🎉🎉 nhentai 现在支持 Windows 啦!

由于 http://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

下载指定 id 列表的本子:

nhentai --id=123855,123866

下载某关键词第一页的本子:

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

下载用户 favorites 内容:

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

Options

-t, --thread:指定下载的线程数,最多为 10 线程。
--path:指定下载文件的输出路径,默认为当前目录。
--timeout:指定下载图片的超时时间,默认为 30 秒。
--proxy:指定下载的代理,例如: http://127.0.0.1:8080/ --login:nhentai 账号的“用户名:密码”组合 --nohtml:nhentai Don't generate HTML --cbz:nhentai Generate Comic Book CBZ file

nHentai Mirror

如果想用自建镜像下载 nhentai 的本子,需要搭建 nhentai.net 和 i.nhentai.net 的反向代理。
例如用 h.loli.club 来做反向代理的话,需要 h.loli.club 反代 nhentai.net,i.h.loli.club 反带 i.nhentai.net。
然后利用环境变量来下载:

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



License

MIT

あなたも変態

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.