]> git.lizzy.rs Git - nhentai.git/blob - README.md
fix bug of setup
[nhentai.git] / README.md
1 nhentai
2 =======
3            _   _            _        _
4      _ __ | | | | ___ _ __ | |_ __ _(_)
5     | '_ \| |_| |/ _ \ '_ \| __/ _` | |
6     | | | |  _  |  __/ | | | || (_| | |
7     |_| |_|_| |_|\___|_| |_|\__\__,_|_|
8
9 あなたも変態。 いいね?  
10 [![Build Status](https://travis-ci.org/RicterZ/nhentai.svg?branch=master)](https://travis-ci.org/RicterZ/nhentai)  
11
12 由于 [http://nhentai.net](http://nhentai.net) 下载下来的种子速度很慢,而且官方也提供在线观看本子的功能,所以可以利用本脚本下载本子。
13 ### 安装
14
15     git clone https://github.com/RicterZ/nhentai
16     cd nhentai
17     python setup.py install
18     
19
20 ### 用法
21 + 下载指定 id 的本子:
22
23
24     nhentai --id=123855 --download
25
26
27 + 下载指定 id 列表的本子:
28
29
30     nhentai --ids=123855,123866 --download
31     
32
33 + 下载某关键词第一页的本子(不推荐):
34
35
36     nhentai --search="tomori" --page=1 --download
37
38
39 `-t, --thread` 指定下载的线程数,最多为 10 线程。  
40 `--path` 指定下载文件的输出路径,默认为当前目录。  
41 `--timeout` 指定下载图片的超时时间,默认为 30 秒。  
42 `--proxy` 指定下载的代理,例如: http://127.0.0.1:8080/
43
44
45 ![](./images/search.png)  
46 ![](./images/download.png)  
47
48 ### License  
49 MIT
50
51 ### あなたも変態
52 ![](./images/image.jpg)