Ricter Zheng 8442f00c6c Merge pull request #5 from navrudh/master
Python3 compatablility and new Singleton implementation
2016-08-11 21:07:02 +08:00
2016-02-02 13:40:29 +08:00
2016-05-02 15:43:59 +08:00
2016-08-10 20:05:15 +05:30
2015-04-19 18:58:07 +08:00
2016-05-02 15:47:44 +08:00
2016-05-02 15:55:14 +08:00
2016-05-02 15:57:17 +08:00

nhentai

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

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

由于 http://nhentai.net 下载下来的种子速度很慢,而且官方也提供在线观看本子的功能,所以可以利用本脚本下载本子。

安装

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

用法

  • 下载指定 id 的本子:

    nhentai --id=123855 --download

  • 下载指定 id 列表的本子:

    nhentai --ids=123855,123866 --download

  • 下载某关键词第一页的本子(不推荐):

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

-t, --thread 指定下载的线程数,最多为 10 线程。
--path 指定下载文件的输出路径,默认为当前目录。
--timeout 指定下载图片的超时时间,默认为 30 秒。
--proxy 指定下载的代理,例如: http://127.0.0.1:8080/


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%