From 2f7bb59e586d69fdf0e9f44475481b9170b1ef41 Mon Sep 17 00:00:00 2001 From: Francesco <55460785+BachoSeven@users.noreply.github.com> Date: Sat, 25 Apr 2020 18:04:50 +0200 Subject: [PATCH 1/3] Update README.rst --- README.rst | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 83f8cb8..0927716 100644 --- a/README.rst +++ b/README.rst @@ -19,15 +19,28 @@ nhentai nHentai is a CLI tool for downloading doujinshi from -============ -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: +.. code-block:: + + pipx install nhentai + ===================== Installation (Gentoo) ===================== @@ -222,3 +235,4 @@ Set `NHENTAI` env var to your nhentai mirror. .. |license| image:: https://img.shields.io/github/license/ricterz/nhentai.svg :target: https://github.com/RicterZ/nhentai/blob/master/LICENSE +.. _Pipx: https://github.com/pipxproject/pipx/ From a2cd0250278cc43ce76d6e248d75ff75c837f397 Mon Sep 17 00:00:00 2001 From: Francesco Minnocci Date: Sat, 25 Apr 2020 18:18:48 +0200 Subject: [PATCH 2/3] updated README.rst --- README.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 0927716..2b9a800 100644 --- a/README.rst +++ b/README.rst @@ -31,16 +31,18 @@ Manual Installation ================== Installation (pip) ================== -Alternatively, install from PyPI with pip +Alternatively, install from PyPI with pip: + .. code-block:: pip install nhentai -For a self-contained installation, use _Pipx: +For a self-contained installation, use `Pipx `_: + .. code-block:: pipx install nhentai - + ===================== Installation (Gentoo) ===================== @@ -63,6 +65,8 @@ Set your nhentai cookie against captcha: nhentai --cookie "YOUR COOKIE FROM nhentai.net" +**NOTE**: The format of the cookie is `"csrftoken=CRSFTOKEN; sessionid=SESSIONID"` + Download specified doujinshi: .. code-block:: bash @@ -196,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 @@ -235,4 +239,3 @@ Set `NHENTAI` env var to your nhentai mirror. .. |license| image:: https://img.shields.io/github/license/ricterz/nhentai.svg :target: https://github.com/RicterZ/nhentai/blob/master/LICENSE -.. _Pipx: https://github.com/pipxproject/pipx/ From 80713d2e00a916aea56560eb4e11dfdc22235da1 Mon Sep 17 00:00:00 2001 From: Francesco Minnocci Date: Sat, 25 Apr 2020 18:19:44 +0200 Subject: [PATCH 3/3] updated README.rst --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2b9a800..dc167f2 100644 --- a/README.rst +++ b/README.rst @@ -65,7 +65,7 @@ Set your nhentai cookie against captcha: nhentai --cookie "YOUR COOKIE FROM nhentai.net" -**NOTE**: The format of the cookie is `"csrftoken=CRSFTOKEN; sessionid=SESSIONID"` +**NOTE**: The format of the cookie is `"csrftoken=TOKEN; sessionid=ID"` Download specified doujinshi: