mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	remove readme.md
This commit is contained in:
		
							
								
								
									
										84
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										84
									
								
								README.md
									
									
									
									
									
								
							@@ -1,84 +0,0 @@
 | 
				
			|||||||
nhentai
 | 
					 | 
				
			||||||
=======
 | 
					 | 
				
			||||||
           _   _            _        _
 | 
					 | 
				
			||||||
     _ __ | | | | ___ _ __ | |_ __ _(_)
 | 
					 | 
				
			||||||
    | '_ \| |_| |/ _ \ '_ \| __/ _` | |
 | 
					 | 
				
			||||||
    | | | |  _  |  __/ | | | || (_| | |
 | 
					 | 
				
			||||||
    |_| |_|_| |_|\___|_| |_|\__\__,_|_|
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
あなたも変態。 いいね?  
 | 
					 | 
				
			||||||
[](https://travis-ci.org/RicterZ/nhentai)  [](https://github.com/RicterZ/nhentai/blob/master/LICENSE)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
nHentai is a CLI tool for downloading doujinshi from [nhentai.net](http://nhentai.net).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### Installation
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    git clone https://github.com/RicterZ/nhentai
 | 
					 | 
				
			||||||
    cd nhentai
 | 
					 | 
				
			||||||
    python setup.py install
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
### Installation (Gentoo)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    layman -fa glicOne
 | 
					 | 
				
			||||||
    sudo emerge net-misc/nhentai
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### Usage
 | 
					 | 
				
			||||||
**IMPORTANT**: To bypass the nhentai frequency limit, you should use `--login` option to log into nhentai.net.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
*The default download folder will be the path where you run the command (CLI path).*
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Download specified doujinshi:
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
nhentai --id=123855,123866
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Download doujinshi with ids specified in a file:
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
nhentai --file=doujinshi.txt
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Search a keyword and download the first page:
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
nhentai --search="tomori" --page=1 --download
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Download your favourite doujinshi (login required):
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
nhentai --login "username:password" --download
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Download by tag name:
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
nhentai --tag lolicon --download
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### Options
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
+ `-t, --thread`: Download threads, max: 10  
 | 
					 | 
				
			||||||
+ `--output`:Output dir of saving doujinshi  
 | 
					 | 
				
			||||||
+ `--tag`:Download by tag name  
 | 
					 | 
				
			||||||
+ `--timeout`: Timeout of downloading each image   
 | 
					 | 
				
			||||||
+ `--proxy`: Use proxy, example: http://127.0.0.1:8080/  
 | 
					 | 
				
			||||||
+ `--login`: username:password pair of your nhentai account  
 | 
					 | 
				
			||||||
+ `--nohtml`: Do not generate HTML  
 | 
					 | 
				
			||||||
+ `--cbz`: Generate Comic Book CBZ File  
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### nHentai Mirror
 | 
					 | 
				
			||||||
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.
 | 
					 | 
				
			||||||
```bash
 | 
					 | 
				
			||||||
NHENTAI=http://h.loli.club nhentai --id 123456
 | 
					 | 
				
			||||||
```
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
  
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
### あなたも変態
 | 
					 | 
				
			||||||

 | 
					 | 
				
			||||||
@@ -118,9 +118,9 @@ Set `NHENTAI` env var to your nhentai mirror.
 | 
				
			|||||||
    :alt: nhentai
 | 
					    :alt: nhentai
 | 
				
			||||||
    :align: center
 | 
					    :align: center
 | 
				
			||||||
 | 
					
 | 
				
			||||||
===========
 | 
					============
 | 
				
			||||||
あなたも変態
 | 
					あなたも変態
 | 
				
			||||||
===========
 | 
					============
 | 
				
			||||||
.. image:: ./images/image.jpg?raw=true
 | 
					.. image:: ./images/image.jpg?raw=true
 | 
				
			||||||
    :alt: nhentai
 | 
					    :alt: nhentai
 | 
				
			||||||
    :align: center
 | 
					    :align: center
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										5
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								setup.py
									
									
									
									
									
								
							@@ -11,9 +11,8 @@ with open('requirements.txt') as f:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def long_description():
 | 
					def long_description():
 | 
				
			||||||
    with codecs.open('README.md', 'rb') as f:
 | 
					    with codecs.open('README.rst', 'r') as f:
 | 
				
			||||||
        if sys.version_info >= (3, 0, 0):
 | 
					        return str(f.read())
 | 
				
			||||||
            return str(f.read())
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
setup(
 | 
					setup(
 | 
				
			||||||
    name='nhentai',
 | 
					    name='nhentai',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user