Giter Club home page Giter Club logo

nhentai-one-key-downloader's Introduction

nhentai-one-key-downloader

Please use https://github.com/Tsuk1ko/nhder instead.

请使用 https://github.com/Tsuk1ko/nhder ,本脚本将封存,不再维护

A pure shell script that can easily download comics from nhentai.

一个可以一键下载nhentai本子的纯shell脚本。

中文说明文档

Prepare

First, download this script.

wget -N --no-check-certificate https://raw.githubusercontent.com/YKilin/nhentai-one-key-downloader/master/nhentai-batch.sh && chmod +x nhentai-batch.sh

Then edit it with vi or other editor. You can see this part at the beginning of the script.

#setting  off:0  on:1
zad=1			#Auto zip the directory after downloading
dsaz=1			#Delete sourse directory after zipping

dldir="comics"	#The name of the directory you want to download to (can be ausolute or relative)

Modify it according to your needs.

Start using

There are 2 modes in this script.

Mode a

Download from an nhentai (search/tags/artists/...) website that include multi comics. Such as https://nhentai.net/search/?q=xxxxxx.

./nhentai-batch.sh -a

Then follow the tips input an nhentai website and press enter. The script will analyze all comics on the website automatically.
After finishing analyzing, the script will remind you that there are 3 modes to download comics:

  1. White list mode : Download which you appoint
  2. Black list mode : Which you appoint WON'T be downloaded
  3. God mode : DOWNLOAD ALL !!!

If you choose mode 1 or 2, you will be ask to input the ordinals of the comics you want (or do not want) to download. (separated them by space)

Mode b

Download from nhentai websites like https://nhentai.net/g/xxxxxx/.

./nhentai-batch.sh -b

Then follow the tips input nhentai websites. Each website end with a Enter. An empty line input means stop continuing input.
Then the script will download all comic you input automatically.
IMPORTANT: There must be a "/" after the url!

Other explanation

If you interrupt it while downloading, the download will continue when you download the same comic again.  
If you have interrupted the script while running, you will find directories like .nhentai-temp-xxxxx. They are temp files which can be delete.

TODO

Development a web page.

nhentai-one-key-downloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.