Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Stupid idea] Itch.io support #3923

Open
Scripter17 opened this issue Apr 16, 2023 · 3 comments
Open

[Stupid idea] Itch.io support #3923

Scripter17 opened this issue Apr 16, 2023 · 3 comments

Comments

@Scripter17
Copy link
Contributor

AFAIK Itch doesn't let you download old versions of games, so they get lost

It's a crap reason to add it but if anyone can do this it's you

@mikf
Copy link
Owner

mikf commented Apr 17, 2023

So you want to download the current version so you still have it later on when it gets updated? Sure, I'll look into it. itch.io even has an official API (https://itch.io/docs/api/overview), although I'm not yet sure how to generate a valid download link from its responses.

@mikf
Copy link
Owner

mikf commented Apr 26, 2023

Rudimentary support for itch.io games got added in 28419bf. I've only tested with 2 free games, but paid-for games should also work when providing cookies.

Let me know if this is good enough for you and what I should change and/or add.

@Scripter17
Copy link
Contributor Author

It seems to work perfectly fine, but the metadata is a bit bare bones

For naming I think all that's needed is needed are the version number, the platform (windows, linux, etc.), and the time the version was published. All 3 are on the download page but the update time only has a resolution of one minute

Aside from that I think supporting https://itch.io/my-collections is worthwhile. It only shows stuff you've downloaded before (https://itch.io/my-purchases shows everything you own) so supporting it shouldn't cause too much strain on the servers

Thank you so much for indulging me on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants