It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
Kalanyr: Hmm, there shouldn't be a dependency on f-string without an import for 2.7 since it doesn't exist in python 2. So I'm confused now

ETA - That's a mistake on my part. I need to fix that. But it should still work fine on Python 3.10
avatar
anarion321: Apologies, I don't think it's your mistake, I just uninstall all of my python and reinstalled only 3.10, seems to work now, so it must've been something bad at my end.

Only issue now it's that I have to reinstall multiple libreries and the OpenSSL must be a thrid party of another or something, cause pip don't find it

F:\GoG>pip3 install OpenSSL
ERROR: Could not find a version that satisfies the requirement OpenSSL (from versions: none)
ERROR: No matching distribution found for OpenSSL

But that's an issue about reinstalling libraries and such, I'll manage when I can.

Thanks a lot again and apologies for the trouble.
IIRC the pip name is pyOpenSSL
If you have gogrepoc handling extra updates strictly you'll get some weird messages on Darkest Dungeon 2, this is because for some reason it (and it's DLC) have completely empty extra DLC items, that just have a name, the messages are weird but harmless.
avatar
Kalanyr: [...]
[Unrelated to the quoted message but I wanted you to be notified of this message so I hit reply on one of your messages.]

You might want to check if gogrepoc can still download XML files because GOG changed something in its backend. Now you only have to follow one redirect instead of two to get the XML.

Depending on how you programmed the function to get the XMLs this might require a change in the code.
avatar
Kalanyr: [...]
avatar
Geralt_of_Rivia: [Unrelated to the quoted message but I wanted you to be notified of this message so I hit reply on one of your messages.]

You might want to check if gogrepoc can still download XML files because GOG changed something in its backend. Now you only have to follow one redirect instead of two to get the XML.

Depending on how you programmed the function to get the XMLs this might require a change in the code.
Thanks for the heads-up.
It shouldn't matter, I let the requests library handle background redirects transparently and only deal with the destination but I'll double check.
avatar
Kalanyr: Thanks for the heads-up.
It shouldn't matter, I let the requests library handle background redirects transparently and only deal with the destination but I'll double check.
It will only impact you if you paused in the chain of redirections to get the downloaded file's name (like I did). Otherwise, if you just follow the redirection until the end to download, it shouldn't impact you I think.

If people using your tool haven't complained that the metadata isn't getting retrieved, then you should be fine.
Post edited August 28, 2024 by Magnitus
Hi, does anyone else have problems running gogrepo.py? I get an error "failed to load product data (are you still logged in?)". After some digging, I found out that URL login.gog.com/login_check, referenced in the script, returns 404 not found error.

If I login through login.gog.com/login I get redirected to login.gog.com/login_check so it seems that the URL is OK. I tried to log in again, but I get this error. Does anyone have any idea what is wrong?
It worked OK in the middle of August this year.

19:11:51 | attempting gog login as 'user@domain' ...
19:11:53 | fatal...
Traceback (most recent call last):
File "D:\Documents\GamesGOG\gogrepo.py", line 1166, in <module>
main(process_argv(sys.argv))
File "D:\Documents\GamesGOG\gogrepo.py", line 1138, in main
cmd_login(args.username, args.password)
File "D:\Documents\GamesGOG\gogrepo.py", line 550, in cmd_login
with request(login_data['auth_url'], delay=0) as page:
File "D:\Documents\GamesGOG\gogrepo.py", line 167, in request
req = Request(url, data=enc_args)
File "C:\Program Files\Python310\lib\urllib\request.py", line 322, in __init__
self.full_url = url
File "C:\Program Files\Python310\lib\urllib\request.py", line 348, in full_url
self._parse()
File "C:\Program Files\Python310\lib\urllib\request.py", line 377, in _parse
raise ValueError("unknown url type: %r" % self.full_url)
ValueError: unknown url type: 'None'
Post edited September 27, 2024 by DSmidgy
high rated
avatar
DSmidgy: File "D:\Documents\GamesGOG\gogrepo.py", line 1166, in <module>
main(process_argv(sys.argv))
The gogrepo.py script has been unsupported for years.

What you are looking for is:
https://github.com/Kalanyr/gogrepoc

@Kalanyr: I think a new gogrepoc thread with you as the OP is long overdue.
Post edited September 27, 2024 by mrkgnao
This script works. Thank you.
avatar
DSmidgy: File "D:\Documents\GamesGOG\gogrepo.py", line 1166, in <module>
main(process_argv(sys.argv))
avatar
mrkgnao: The gogrepo.py script has been unsupported for years.

What you are looking for is:
https://github.com/Kalanyr/gogrepoc

@Kalanyr: I think a new gogrepoc thread with you as the OP is long overdue.
I really wanted to have a clean break ready first but given my workload and that the old script is broken now you're probably correct. I'm going to busy for the next couple of weeks but I'll put something together then.

In the meanwhile I guess if there's anything important you think needs to go in the first post toss it at me here.