|
Guides All Guides and HOWTO's. |
|
Thread Tools | Display Modes |
|
||||
A script to get informations about gog.com games (and others platforms)
Hi,
I write a script that use an OpenBSD-games-database (https://github.com/playonbsd/OpenBSD-Games-Database) and retrieves informations about that games from GOG.com. Launch the script with Code:
$./pobsdvgof.0.4.sh Informations are saved in files, or show in terminal for one game and for the option "-ga" or "g a" also. The script produces and deletes files so I advice to put it in a own directory. The script takes time as it can retrieve 141 games (on GOG.com). Code:
$ time ./pobsdvgof.0.4.sh 4m39.08s real 0m22.26s user 0m24.79s system Code:
time ./pobsdvgof_0.4.sh -l my_list_gog_game 0m11.69s real 0m01.79s user 0m02.07s system I tried a different script with steam and humblebundle games, not so evolve as this one. A script with steam games requires a different code + there is restriction age for some games that I can not know how to go through with curl. With humblebundle I do not know how to retrieve the sale value in the html code as it seems not to appear. You can add a "-s" to curl to make it silence. It is an experience and learning. Enjoy and of course I am not responsible if it break your system! Last edited by ripe; 26th September 2024 at 12:02 PM. Reason: slip of the tongue, script updated |
|
||||
humblebundle games
Same for humblebundle games.
Age check, I dont know how to pass value with curl, I try with https://reqbin.com/req/c-sma2qrvp/cu...t-form-example but I am not enought practice of web. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Games are slow on OpenBSD 6.4 | ripe | OpenBSD Packages and Ports | 6 | 2nd January 2019 01:35 PM |
your 3 favorite games | welkin | FreeBSD Ports and Packages | 17 | 5th June 2010 08:26 PM |
Problem with no sound in games | troberts | FreeBSD General | 9 | 21st July 2008 08:53 PM |
Voip FreeBSD ( I need some informations ) | bsduser | FreeBSD General | 7 | 16th June 2008 03:50 AM |
CrossOver Games for BSD | udragon | FreeBSD General | 6 | 27th May 2008 08:59 AM |