Posted December 14, 2016
adaliabooks: Ok, a quick look at the library suggests it wouldn't be trivial to do as the information is only on the second layer (when you click on the game on the shelf) and would require an AJAX call for each game, which would soon probably crash the system if you have over 100 - 200 games...
But there may be other ways to do it.
Have you looked at MaGog? You can import your owned games into it and could then display a list of them, adding them with a script would be far easier that way. Not sure if it's more or less hassle than gogrepo would be though...
Thank you for looking into it. But there may be other ways to do it.
Have you looked at MaGog? You can import your owned games into it and could then display a list of them, adding them with a script would be far easier that way. Not sure if it's more or less hassle than gogrepo would be though...
I was writing before your later replies (and now deleted all of the reply), and tried now with your method. I'm glad you engaged with this puzzle. :)
I'm checking now some specific games, and it seems MaGog has issues with file sizes for some of them, for example The Witcher 3 or the Zork Anthology, but it certainly makes a manual count simpler.
timppu: Either way, I suggest you try out gogrepo.py. When you start the actual download of your games/extras with gogrepo, it will tell you right at the start how much exactly is still to be downloaded (total), which is the figure you're after. You can cancel the download right there if your intention was not to download your games but just to see how much space they will take.
Thank you for confirming this. If it gets too complicated I will go with gogrepo, it really looks like a fine piece of programming in any case.Post edited December 14, 2016 by Links