Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Download a itch.io game with wget or curl?

A topic by LowSpecGamerROBLOX created Nov 12, 2021 Views: 1,466 Replies: 7
Viewing posts 1 to 4

I'm trying to make a auto updater script for crab game for Mac that fetches the game from itch.io and auto patches it and puts in the new .app file in the steamapps folder on Mac. Because they are really buggy and people on my YouTube tutorial are getting confused because they have to do all of these commands and complex stuff just to play a game that in theory should just be on steam and supported for Mac already.

However, is there a url I can just use wget with and then it gets the file from it? It's like that with literally every website but normally I just copy link on the download button on whatever and it gives me the url but it said javascript:void(0); so then I go to network in inspect element and get the url but the only thing I got was something that said like "crab-game-linux/random number I forgot/I forgot whatever" and when I pasted that into google chrome / safari url box. it just put me to the website of the itch.io game.

I don't want to use python or requests, etc which makes the person have to go out of their way to install home-brew, make me have to spend hours doing stuff like csrf-token and just hell. I want to use a single shell script only.

So my question is, is it possible for me to download a free itch.io game with wget or curl?

Why not just use the itch.io app for mac?

it's for a shell script.

(1 edit)

If you go into Firefox's developer tools and click on "Network", you can reload the page, then click the download button and the last request you see in the list is a URL to the storage location of the file that you downloaded. I'm not sure if this URL is permanent though.

Not sure how to do it in other browsers; I'm sure Chrome has a way of doing it as well, but I don't use that.

yea I did that on chrome. the link expired after like 15 minutes and then it showed a "character name is too long" error in the terminal.

Ach, that sucks.


Maybe it is worth writing to support to ask if there's a permanent URL?

Use butler.  Specifically, the "butler fetch" command.

and then what

This topic has been auto-archived and can no longer be posted in because there haven't been any posts in a while.