How to download all my games?

Sort:
Martin_Stahl

v3 of the site is the most current and it also doesn't allow players to download all their games in one shot. There are probably a few reasons for it but I would imagine load is the primary one.  I know things are in flux but I really don't see them adding the feature back.

TMHgn

Right now, in v3 it is impossible to even download a single game from the Archive main page (select box and press the icon). Nothing happens thereafter.

It worked a few days ago IIRC, but not anymore. Bug or feature?

Martin_Stahl

I'm seeing the same thing. PGN downloads works on the the filtered archive page. So probably a bug. I went ahead and reported in case it hasn't been.

Aaravprasher7

This is truly annoying. I have played over 4k games here and was not smart enough to regularly download the PGN files for a page...i can not be expected to go through 80 pages of games to get all of them.

baddogno

Why not?  80 pages, 80 downloads, what's the big deal?  

Nimzowitts

No DOWNLOAD!!! ????? I NEED my games!! How else can one improve!  Let's all chant!! WE WANT DOWNLOAD OF OUR GAMES!

 

CookedQueen

Why don't you just write a python-script crawling your games-history, pipe it to awk to process all data to your favor and then you've got a file to re-check if you like?

Nimzowitts

Way too much drama.

 

MykeGuitar89

Do you have any updates on how to download all my games at once? 

Martin_Stahl
MykeGuitar89 wrote:

Do you have any updates on how to download all my games at once? 

 

It's not something available through the site provided means. There is an API and I think at least one person has released a script that can do it.

bax56

The API approach mentioned above is described at: 

https://www.chess.com/news/view/published-data-api#pubapi-endpoint-games-pgn&gt

So, for example, you should be able to paste (while specifying your username, year and month) the following URL address into your browser to receive all of your games from a given month:

https://api.chess.com/pub/player/{username}/games/{YYYY}/{MM}/pgn

That should give you a downloadable PGN file of all your games in the month you specified.  

Granted, this is not ideal since it'll require, for example, 60 downloads to obtain a 5-year game history.  But once you've done that, you'll just need to add subsequent months as they occur. 

Hope this helps. 

ChastityWhiteRose

It is still possible to download all your games by using the program En-Croissant. However, I am disappointed that Chess.com would remove the feature to do it directly from the website. Lichess still allows this feature though, which I recently discovered by accident when viewing my profile.

Martin_Stahl
ChastityWhiteRose wrote:

It is still possible to download all your games by using the program En-Croissant. However, I am disappointed that Chess.com would remove the feature to do it directly from the website. Lichess still allows this feature though, which I recently discovered by accident when viewing my profile.

Downloading a lot of games at once is resource expensive so it's limited from the UI. The site provides a Public API that anyone with coding knowledge can use to go through the endpoints to grab all games serially.

neilgd72

Here's a site that will do it for you:

https://chessgamedownloader.com/

Chessplayer6464

Hi

Very nice site and it works well at least with a smaller number of games. There may be problems if there are a lot of games.

Chess.com game history says, I have 11130 games. I downloaded everything (I tick every game types on site and choose wide range of dates) and checked the file. Result was 10932 games. So, 198 games is missing from downloaded file. I tried this twice and the result was the same.

Could someone else who has a lot of games, try this and tell what happen?

neilgd72

Looks like it's a bug in the chess.com API - it says you didn't play any games in October 2009, although you did:

https://api.chess.com/pub/player/chessplayer6464/games/2009/10

I've raised it with them.

neilgd72

Possibly games against bots aren't in the archive.

Martin_Stahl

Bot gave played since bots were removed from line won't be included in the API. There have been some large architectural changes to how games are stored, so it's also possible old bot games are being excluded from the API as well. I'm asking about the case

Chessplayer6464

I did some more research and the chess.com archive doesn't have any my games older than October 2009. I played 209 games against people between August and October on year 2009. I downloaded those old games long time ago.

I also noticed that among all the downloaded games, some fairly recent human games were missing. The API interface doesn't seem to work completely reliably.

It would be important to make the game downloads 100% reliable. I am still disappointed that chess.com does not allow all games to be downloaded at once on its website, as it used to be. Therefore, it is great that alternative methods have been found and made by users.

neilgd72

Any chance you could give me an example of a game that isn't in the archive, so I can take a look at my code?