Comments (9)
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.
Pretty sure this is just a continuation of #57.
from itchio.
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.
are you able to test the code in #66 to see if the fix works for you?
from itchio.
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.
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.
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.
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.
Yes, I can create a feature request for it. Thanks!
from itchio.
Related Issues (20)
- Broken files aren't redownloaded HOT 1
- Deleted files aren't redownloaded HOT 1
- Download free games with this tool? HOT 6
- Show overall progress
- Add Games in bundle to library does not work HOT 8
- Downloader is creating folders and JSON files for about half of my library, then exiting HOT 18
- Can't Get Downloader working HOT 6
- Detect (and remove) files that aren't available on Itch servers (older version of games)
- No progress of download | after running the tool
- licensing HOT 1
- Feature Request: Cache download_key_ids HOT 1
- downloads empty folders without admin privileges / crashes with admin privileges or when trying to download individual games HOT 6
- Finding games but not writing files. HOT 8
- crash downloading large library HOT 5
- Crash when a game file changes name when downloaded due to filename character restrictions HOT 2
- Crash - AttributeError: 'str' object has no attribute 'open' HOT 4
- Crash - FileNotFoundError: [Errno 2] No such file or directory when filename contains unusual symbols HOT 3
- Get "FileExistsError" after re-launching the script following a crash related to MD5 hash checks
- Code Issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from itchio.