Giter Club home page Giter Club logo

Comments (9)

xcorvis avatar xcorvis commented on August 26, 2024

I just tried downloading a freely available project, and it did download all 3 PDFs ( https://failbetter-games.itch.io/skyfarer ), so why one and not the other?

from itchio.

xcorvis avatar xcorvis commented on August 26, 2024

Pretty sure this is just a continuation of #57.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

I think this is an issue with how the API was reverse engineered.

I'm currently trying to run the app through a proxy. I think the issue is that if the item is paid-for it requires an download_key_id or uploads comes back empty. there doesn't seem to be a way around this.

The only way i can see is to add the purchased item api to get the keys and then do the downloads.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

are you able to test the code in #66 to see if the fix works for you?

from itchio.

xcorvis avatar xcorvis commented on August 26, 2024

Thanks for the quick turnaround! I tried it out on my purchased game (same command as in the original post) but instead of downloading the specified game, it started downloading every game. I had to kill it. I have a lot of games from a couple of big bundles, so I can't let it run through all of them to confirm. But there were some purchased games in the first few that downloaded successfully.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

doh! i made a mistake with the order of trimming the list / exiting the loop, the new one should work.

it was only going to download the current loaded page (50 items)

from itchio.

xcorvis avatar xcorvis commented on August 26, 2024

That worked! It had to check 50 pages of purchases first, but I got the files.

Would it be possible to cache that info so you'd only have to run an "update purchases" job occasionally? My ideal scenario is to create a list of games I want to keep updated, and then I'd script jobs to grab updates. Pulling the same 50 pages of purchase info for each game seems onerous.

from itchio.

Emersont1 avatar Emersont1 commented on August 26, 2024

That does seem like a good idea on the whole. Tbh this system was designed more of a one and done "download the entire library onto a nas" tool instead of downloading an arbitrary game. Are you okay to spin this off into a new issue, because i think this will need a bit more of a redesign for it?

from itchio.

xcorvis avatar xcorvis commented on August 26, 2024

Yes, I can create a feature request for it. Thanks!

from itchio.

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.