Coder Social home page Coder Social logo

glow26 / nhentai-helper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tsuk1ko/nhentai-helper

0.0 0.0 0.0 168 KB

๐Ÿ”ž A user script make it easy for you to download nHentai doujin as zip (or cbz), also support NyaHentai.

Home Page: https://greasyfork.org/scripts/375992

License: GNU General Public License v3.0

JavaScript 100.00%

nhentai-helper's Introduction

nHentai Helper

Support Tampermonkey and Violentmonkey. Not and will not support Greasemonkey.

Main features

  1. You can download doujin as zip (or cbz). You must keep the page in the foreground when downloading.
  2. Add pjax support for list page. Changing pages will not interrupt downloads.
  3. Download queue support on dojin list page. It will warn you when you download an already downloaded doujin, even they were uploaded by different people but have the same name. Up to 1000 history records.

Setting

  1. Download Thread
    If you think the download speed is too slow, you can try to increase the number of download threads from this setting.
  2. Open On New Tab
    Gallery page will be open on a new window by default, turn off it if you don't like it.
  3. Custom Download URL
    WARNING: Please don't set this if you don't know what it does.
    Tip: You may need to add your domain into XHR security for this script.
    Provide a URL containing the following placeholder:
    • {{mid}} - Media ID
    • {{index}} - Page index, starting from 1
    • {{ext}} - Image file extension
  4. Compression Filename
    Default is {{japanese}}.zip. You can custom the naming of downloaded compression file, including the file extension, such as {{english}}.cbz.
    Available placeholders:
    • {{english}} - English name of doujin
    • {{japanese}} - Japanese name of doujin
    • {{pretty}} - English simple title of doujin
    • {{id}} - Gallery ID
    • {{pages}} - Number of pages
  5. Compression Level
    Accept a numer in 0-9, default is 0.
    0 means "no compression", 1 means "best speed", 9 means "best compression".
    Actually, for doujin, compression output size of 0 and 9 usually differ by less than 1%.
  6. Filename Length
    Zeros will be padded to the start of image filename when its length lower than the value you specified. This can avoid the sorting confusion caused by sorting only by string in some cases.

Other features

NyaHentai support

This script also support NyaHentai. You need to know two things:

  1. Its domains change frequently. If the script does not run on some domains, you can add them to User matches.
  2. If doujins cannot be downloaded, find the correct image URL and modify Custom Download URL.

Language filter

You can select a language in the navigation bar to filter doujins.

100% view height

Effective when reading online, only for NyaHentai (now nHentai already has this feature).

nhentai-helper's People

Contributors

tsuk1ko avatar z2n 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.