mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
commit
8183f3a7a9
27
README.rst
27
README.rst
@ -19,15 +19,30 @@ nhentai
|
|||||||
|
|
||||||
nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>
|
nHentai is a CLI tool for downloading doujinshi from <http://nhentai.net>
|
||||||
|
|
||||||
============
|
===================
|
||||||
Installation
|
Manual Installation
|
||||||
============
|
===================
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
git clone https://github.com/RicterZ/nhentai
|
git clone https://github.com/RicterZ/nhentai
|
||||||
cd nhentai
|
cd nhentai
|
||||||
python setup.py install
|
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)
|
Installation (Gentoo)
|
||||||
=====================
|
=====================
|
||||||
@ -50,6 +65,8 @@ Set your nhentai cookie against captcha:
|
|||||||
|
|
||||||
nhentai --cookie "YOUR COOKIE FROM nhentai.net"
|
nhentai --cookie "YOUR COOKIE FROM nhentai.net"
|
||||||
|
|
||||||
|
**NOTE**: The format of the cookie is `"csrftoken=TOKEN; sessionid=ID"`
|
||||||
|
|
||||||
Download specified doujinshi:
|
Download specified doujinshi:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. 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`.
|
If you want to use a mirror, you should set up a reverse proxy of `nhentai.net` and `i.nhentai.net`.
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
i.h.loli.club -> i.nhentai.net
|
i.h.loli.club -> i.nhentai.net
|
||||||
h.loli.club -> nhentai.net
|
h.loli.club -> nhentai.net
|
||||||
|
Loading…
x
Reference in New Issue
Block a user