]> git.lizzy.rs Git - nhentai.git/commitdiff
remove readme.md
authorRicterZ <ricterzheng@gmail.com>
Sat, 18 May 2019 12:31:18 +0000 (20:31 +0800)
committerRicterZ <ricterzheng@gmail.com>
Sat, 18 May 2019 12:31:18 +0000 (20:31 +0800)
README.md [deleted file]
README.rst
setup.py

diff --git a/README.md b/README.md
deleted file mode 100644 (file)
index ac8aefc..0000000
--- a/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-nhentai\r
-=======\r
-           _   _            _        _\r
-     _ __ | | | | ___ _ __ | |_ __ _(_)\r
-    | '_ \| |_| |/ _ \ '_ \| __/ _` | |\r
-    | | | |  _  |  __/ | | | || (_| | |\r
-    |_| |_|_| |_|\___|_| |_|\__\__,_|_|\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
-\r
-nHentai is a CLI tool for downloading doujinshi from [nhentai.net](http://nhentai.net).\r
-\r
-### Installation\r
-\r
-    git clone https://github.com/RicterZ/nhentai\r
-    cd nhentai\r
-    python setup.py install\r
-    \r
-### Installation (Gentoo)\r
-\r
-    layman -fa glicOne\r
-    sudo emerge net-misc/nhentai\r
-\r
-### Usage\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
-```bash\r
-nhentai --id=123855,123866\r
-```\r
-\r
-Download doujinshi with ids specified in a file:\r
-```bash\r
-nhentai --file=doujinshi.txt\r
-```\r
-\r
-Search a keyword and download the first page:\r
-```bash\r
-nhentai --search="tomori" --page=1 --download\r
-```\r
-\r
-Download your favourite doujinshi (login required):\r
-```bash\r
-nhentai --login "username:password" --download\r
-```\r
-\r
-Download by tag name:\r
-```bash\r
-nhentai --tag lolicon --download\r
-```\r
-\r
-### Options\r
-\r
-+ `-t, --thread`: Download threads, max: 10  \r
-+ `--output`:Output dir of saving doujinshi  \r
-+ `--tag`:Download by tag name  \r
-+ `--timeout`: Timeout of downloading each image   \r
-+ `--proxy`: Use proxy, example: http://127.0.0.1:8080/  \r
-+ `--login`: username:password pair of your nhentai account  \r
-+ `--nohtml`: Do not generate HTML  \r
-+ `--cbz`: Generate Comic Book CBZ File  \r
-\r
-### nHentai Mirror\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
-    i.h.loli.club -> i.nhentai.net\r
-    h.loli.club -> nhentai.net\r
-\r
-Set `NHENTAI` env var to your nhentai mirror.\r
-```bash\r
-NHENTAI=http://h.loli.club nhentai --id 123456\r
-```\r
-\r
-![](./images/search.png)  \r
-![](./images/download.png)  \r
-![](./images/viewer.png)  \r
-\r
-### あなたも変態\r
-![](./images/image.jpg)\r
index 80ed14c61249a8a58ecbf31ab4ee5c00e019a144..091a8d5eba09cfb285ef11a85ec56bfe6458a67e 100644 (file)
@@ -118,9 +118,9 @@ Set `NHENTAI` env var to your nhentai mirror.
     :alt: nhentai\r
     :align: center\r
 \r
-===========\r
+============\r
 あなたも変態\r
-===========\r
+============\r
 .. image:: ./images/image.jpg?raw=true\r
     :alt: nhentai\r
     :align: center\r
index d0f6562ddce025f4b93381b4d6c5e939ded3d1c6..f48053777656cd042e17bd056c719b6ab33dad37 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -11,9 +11,8 @@ with open('requirements.txt') as f:
 
 
 def long_description():
-    with codecs.open('README.md', 'rb') as f:
-        if sys.version_info >= (3, 0, 0):
-            return str(f.read())
+    with codecs.open('README.rst', 'r') as f:
+        return str(f.read())
 
 setup(
     name='nhentai',