Anon
02/16/2022 (Wed) 01:41:07
No.
8154
del
>>8143
Ok here it is. Let me know if anything needs to be clarified.
1. GET request overview metadata:
https://gamejolt.com/site-api/web/discover/games/overview/<game_id>?ignore
2. Search for "builds" key. Get "game_build_id" for each item in that list.
3. For each game_build_id, POST request
https://gamejolt.com/site-api/web/discover/games/builds/get-download-url/<game_build_id>.
May need "forceDownload=true" parameter in the data, otherwise leave as empty.
4. "url" key contains download URL. Note that the URL has a UNIX timestamp in it because the download link will expire after a period of time, so download the game immediately.
e.g.
https://gamejolt.com/games/TBOF/18209
1.
https://gamejolt.com/site-api/web/discover/games/overview/18209?ignore
2. game_build_ids = ["596935", "596959", "607274", "763590", "860764"]
3.
https://gamejolt.com/site-api/web/discover/games/builds/get-download-url/596935
(repeat for other IDs)
4.
https://cdn-files.gamejolt.net/i48nDLzXuQQa-iaJdkejeg==,1645061790/data/games/0/209/18209/files/5b47461c9f96f/tbof-version-1-3-1.zip
(expires at 2022-02-17T01:36:30Z)
Also ArchiveTeam's code suggests that some of the links need a token but I can't remember how to get around that. I think it's in the old /mlp/ thread for it.