mirror of
				https://github.com/RicterZ/nhentai.git
				synced 2025-11-04 02:50:55 +01:00 
			
		
		
		
	
							
								
								
									
										27
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										27
									
								
								README.rst
									
									
									
									
									
								
							@@ -19,15 +19,30 @@ nhentai
 | 
			
		||||
 | 
			
		||||
nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>
 | 
			
		||||
 | 
			
		||||
============
 | 
			
		||||
Installation
 | 
			
		||||
============
 | 
			
		||||
===================
 | 
			
		||||
Manual Installation
 | 
			
		||||
===================
 | 
			
		||||
.. code-block::
 | 
			
		||||
 | 
			
		||||
    git clone https://github.com/RicterZ/nhentai
 | 
			
		||||
    cd nhentai
 | 
			
		||||
    python setup.py install
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
==================
 | 
			
		||||
Installation (pip)
 | 
			
		||||
==================
 | 
			
		||||
Alternatively, install from PyPI with pip:
 | 
			
		||||
 | 
			
		||||
.. code-block::
 | 
			
		||||
 | 
			
		||||
           pip install nhentai
 | 
			
		||||
 | 
			
		||||
For a self-contained installation, use `Pipx <https://github.com/pipxproject/pipx/>`_:
 | 
			
		||||
 | 
			
		||||
.. code-block::
 | 
			
		||||
 | 
			
		||||
           pipx install nhentai
 | 
			
		||||
 | 
			
		||||
=====================
 | 
			
		||||
Installation (Gentoo)
 | 
			
		||||
=====================
 | 
			
		||||
@@ -50,6 +65,8 @@ Set your nhentai cookie against captcha:
 | 
			
		||||
 | 
			
		||||
    nhentai --cookie "YOUR COOKIE FROM nhentai.net"
 | 
			
		||||
 | 
			
		||||
**NOTE**: The format of the cookie is `"csrftoken=TOKEN; sessionid=ID"`
 | 
			
		||||
 | 
			
		||||
Download specified doujinshi:
 | 
			
		||||
 | 
			
		||||
.. code-block:: bash
 | 
			
		||||
@@ -183,7 +200,7 @@ 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:
 | 
			
		||||
 | 
			
		||||
.. code-block:: 
 | 
			
		||||
.. code-block::
 | 
			
		||||
 | 
			
		||||
    i.h.loli.club -> i.nhentai.net
 | 
			
		||||
    h.loli.club -> nhentai.net
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user