Code Monkey home page Code Monkey logo

Comments (10)

Tsuk1ko avatar Tsuk1ko commented on May 24, 2024

I have no plans to add such functions at present. It's a bit inconsistent with my original intention to make this script.

But you can use js to trigger the click event of all download buttons to do that.

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

I have no plans to add such functions at present. It's a bit inconsistent with my original intention to make this script.

But you can use js to trigger the click event of all download buttons to do that.

It remains for me an idiot to figure out how to do this, but thank you for the answer

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

I have no plans to add such functions at present. It's a bit inconsistent with my original intention to make this script.
But you can use js to trigger the click event of all download buttons to do that.

It remains for me an idiot to figure out how to do this, but thank you for the answer

I (almost) made the code for the console (12 hours I sat on it).

For those who use preloader extension for tampermonkey. Just scroll down to the max and run the script.

let nodeList = document.querySelectorAll(".download-zip-btn") ;
nodeList=[...nodeList]

for (let step = 0; step < 25; step++) {
    let currentElement = nodeList.shift();
    currentElement.click();
}

let interval = setInterval(()=>{
    var step;
    for (step = 0; step < 25; step++) {
        let currentElement = nodeList.shift();
        currentElement.click();
    }

    if (nodeList.length == 0) {
        clearInterval(interval);
    }


}, 120000);


Version for those without Preloader

document.querySelectorAll(".download-zip-btn").forEach(item => {item.click()});

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

@Tsuk1ko Is it possible to add more multithreading? At the moment it can load 1 and compress one. I would like to be able to download more than one manga at a time.

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on May 24, 2024

@Tsuk1ko Is it possible to add more multithreading? At the moment it can load 1 and compress one. I would like to be able to download more than one manga at a time.

In fact they are all multithreaded.

Many pages will be downloaded at the same time, you can increase the number of threads in the settings.

Compression is actually an independent queue and multithreaded, if your download speed is fast enough you can see it.

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

I probably didn't put it that way. The fact is that he loads quickly, but only one manga. that is, not in parallel. Or I have a bug. But when I download the conditional 20 mangs, he starts pumping one (quickly) and only when compression begins, the second start download

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

browser_wkRPsbB6DF

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on May 24, 2024

This is correct behavior. Mangas are downloaded serially, only pages are downloaded in parallel.

from nhentai-helper.

bropines avatar bropines commented on May 24, 2024

This is correct behavior. Mangas are downloaded serially, only pages are downloaded in parallel.

Will parallel manga loading be added?

from nhentai-helper.

Tsuk1ko avatar Tsuk1ko commented on May 24, 2024

This is correct behavior. Mangas are downloaded serially, only pages are downloaded in parallel.

Will parallel manga loading be added?

No, they are essentially the same thing. It's actually downloading multiple pages at the same time.

from nhentai-helper.

Related Issues (20)

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.