Code Monkey home page Code Monkey logo

Comments (6)

NiiMiyo avatar NiiMiyo commented on September 4, 2024 2

Resolved on release 2.3

Delay time was reduced to 55 milliseconds, which should cause no trouble.

from edopro-hd-downloader.

NiiMiyo avatar NiiMiyo commented on September 4, 2024 1

Hi, sorry for the late reply.

It depends on how slow you are talking. I defined an wait time of half a second between the download of each card because when I was programming it the YGOProDeck's API Guide didn't state a request rate limit, it just said that too many request could get you blocked.

I just checked right now and it states "The rate limit is 20 requests per 1 second. If you exceed this, you are blocked from accessing the API for 1 hour. We will monitor this rate limit for now and adjust accordingly."

I can make adjustments on this to decrease the wait time so it gets close to 20 per second, with a bit of time to spare. Thanks for bringing this issue.

from edopro-hd-downloader.

NiiMiyo avatar NiiMiyo commented on September 4, 2024 1

@AndrinoC

The average download per second here is 2~3. That can't be improved right?

Technically yes. The code can be adjusted to download multiple cards simultaneously and that would probably be way faster, the thing is I'm not experienced in multi-threading and asynchronously coding, so that would take some time I really don't have right now for a simple script that you really only run once in a while and only really takes a long time the first time.

If you want to have a try on the challenge, you can fork the repository and update it accordingly. Depending on the results it could be merged here without problems.

After 518 or so downloads it stopped downloading.

Well, this could have a lot of reasons, but it's probably not the update. I tested it before uploading and was able to download 3000+ cards without problems. If the program simply stops and no error shows on the screen it could mean that it's still trying to download the cards, but can't for some reason that doesn't make it to stop trying. Is there any other information you could give me?

from edopro-hd-downloader.

AndrinoC avatar AndrinoC commented on September 4, 2024

Thanks for the quick response and code adjustment.
The average download per second here is 2~3. That can't be improved right?

Thanks again for your atention and time! Great software you have there, very useful!

from edopro-hd-downloader.

AndrinoC avatar AndrinoC commented on September 4, 2024

After 518 or so downloads it stopped downloading.

from edopro-hd-downloader.

AndrinoC avatar AndrinoC commented on September 4, 2024

Thanks for the quick and detailed answer!

from edopro-hd-downloader.

Related Issues (9)

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.