]> git.lizzy.rs Git - nhentai.git/commitdiff
Update README.rst
authorRicter Zheng <RicterZheng@gmail.com>
Sat, 18 May 2019 12:22:55 +0000 (20:22 +0800)
committerGitHub <noreply@github.com>
Sat, 18 May 2019 12:22:55 +0000 (20:22 +0800)
README.rst

index 72ed080a4a6216ac572036b796e00b49fd6cc311..e32c8a7fc471441a4f76caceddc8e4ba15f60573 100644 (file)
@@ -2,6 +2,7 @@ nhentai
 =======\r
 \r
 .. code-block::\r
+\r
            _   _            _        _\r
      _ __ | | | | ___ _ __ | |_ __ _(_)\r
     | '_ \| |_| |/ _ \ '_ \| __/ _` | |\r
@@ -10,15 +11,16 @@ nhentai
 \r
 \r
 あなたも変態。 いいね?  \r
-[![Build Status](https://travis-ci.org/RicterZ/nhentai.svg?branch=master)](https://travis-ci.org/RicterZ/nhentai) ![nhentai PyPI Downloads](https://img.shields.io/pypi/dm/nhentai.svg) [![license](https://img.shields.io/cocoapods/l/AFNetworking.svg)](https://github.com/RicterZ/nhentai/blob/master/LICENSE)\r
-\r
+|travis|\r
+|pypi|\r
+|license|\r
+[![license](https://img.shields.io/cocoapods/l/AFNetworking.svg)](https://github.com/RicterZ/nhentai/blob/master/LICENSE)\r
 \r
 nHentai is a CLI tool for downloading doujinshi from [nhentai.net](http://nhentai.net).\r
 \r
 ============\r
 Installation\r
 ============\r
-\r
 .. code-block::\r
 \r
     git clone https://github.com/RicterZ/nhentai\r
@@ -28,7 +30,6 @@ Installation
 =====================\r
 Installation (Gentoo)\r
 =====================\r
-\r
 .. code-block::\r
 \r
     layman -fa glicOne\r
@@ -38,11 +39,15 @@ Installation (Gentoo)
 Usage\r
 =====\r
 **IMPORTANT**: To bypass the nhentai frequency limit, you should use `--login` option to log into nhentai.net.\r
-\r
 *The default download folder will be the path where you run the command (CLI path).*\r
 \r
 Download specified doujinshi:\r
 \r
+Set your nhentai cookie aginest captcha:\r
+.. code-block:: bash\r
+\r
+    nhentai --cookie 'YOUR COOKIE FROM nhentai.net'\r
+\r
 .. code-block:: bash\r
 \r
     nhentai --id=123855,123866\r
@@ -59,22 +64,21 @@ Search a keyword and download the first page:
 \r
     nhentai --search="tomori" --page=1 --download\r
 \r
-Download your favourite doujinshi (login required):\r
+Download by tag name:\r
 \r
 .. code-block:: bash\r
 \r
-    nhentai --login "username:password" --download\r
+    nhentai --tag lolicon --download\r
 \r
-Download by tag name:\r
+Download your favorites:\r
 \r
 .. code-block:: bash\r
 \r
-    nhentai --tag lolicon --download\r
+    nhentai --favorites --download\r
 \r
 =======\r
 Options\r
 =======\r
-\r
 + `-t, --thread`: Download threads, max: 10  \r
 + `--output`:Output dir of saving doujinshi  \r
 + `--tag`:Download by tag name  \r
@@ -87,7 +91,6 @@ Options
 ==============\r
 nHentai Mirror\r
 ==============\r
-\r
 If you want to use a mirror, you should set up a reverse proxy of `nhentai.net` and `i.nhentai.net`.\r
 For example:\r
 \r
@@ -104,5 +107,17 @@ Set `NHENTAI` env var to your nhentai mirror.
 ![](./images/download.png)  \r
 ![](./images/viewer.png)  \r
 \r
-### あなたも変態\r
+===========\r
+あなたも変態\r
+===========\r
 ![](./images/image.jpg)\r
+\r
+\r
+.. |travis| image:: https://travis-ci.org/RicterZ/nhentai.svg?branch=master\r
+   :target: https://travis-ci.org/RicterZ/nhentai\r
+\r
+.. |pypi| image:: https://img.shields.io/pypi/dm/nhentai.svg\r
+   :target: https://pypi.org/project/nhentai/\r
+\r
+.. |license| image:: https://img.shields.io/github/license/ricterz/nhentai.svg\r
+   :target: https://github.com/RicterZ/nhentai/blob/master/LICENS\r