It only downloads 6-12 games out of 40 I wanted for me and closes without giving me time to read the error message. Anybody has any idea?
-
Are you using Thouisâ or Rvzyâs tool?
-
If you open a command prompt and then execute it from there, the window wonât close, allowing you to see any messages output to console.
The one by Rvzy. But I ran it from cmd as you said and it turns out the OGS server is refusing connection after 12 games downloaded or so.
Hm, thatâs not a conscious behavior on our part. It might be cloud flare trying to protect us or something, though 12 seems rather low in any case.
It is Cloudflare, but not necessarily a refusal:
520 Origin Error (CloudFlare)
Server Error
The 5XX class of codes indicate the server has a problem with the request.
This status code is not specified in any RFCs, but is used by CloudFlareâs reverse proxies to signal an âunknown connection issue between CloudFlare and the origin web serverâ to a client in front of the proxy.
Hello @Rvzy, thanks for the handy app!
Iâm running into a problem though, when I use the app to fetch my games, itâs stopping at this game https://online-go.com/game/4200187 with error 403 Forbidden. Do you know possible cause?
The game is a mistaken fork of Lee Sedolâs game with Alpha Go, and the bot (Fuego) has since been deleted, if that info might help
It seems to be private - I canât open it in the web browser either from my account.
o_0 Youâre right! That might be the case.
Now if only I know how to un-privatize itâŚ
I donât know of a way to do that - ostensibly to preserve privacy of the other player (wouldnât want someone to believe theyâre in a private game only to have it be made public later without their knowledge or consent.)
I havenât looked at RVZTâs tool, but have contributed to Thouisâ before. Adding authentication for your account shouldnât be too hard (just need to make an API key) and would let you get all of your games. I might add that as an option to Thouisâ at some point if I have enough free time.
Sadly the links at the original post have gone 404 :<
Is there some new way for downloading all the games in a bunch?
And sorry for necromancingâŚ
The link to the source code works for me.
Indeed, the link at the bottom of OPâs post marked source still works
I ported that thing to Python. Here: ogs game downloader - Pastebin.com
If you want more than 40 games just change the count=40 line
If you want thousands of games might be polite to add some delay like in the OGSGFGet
Edit: of course I didnât notice uberdownloader posted above
Plot twist: Julko is still on XP