lichess.org
Donate

pgndownloads

Is there any way to download all the games (by all players) that have been played on the lichess server?
Not at the moment. It's 3,2 million games. What would you do with that?
I would put them in my scid chess databases, i have about 20 million games in them, being something of a compulsive collecter! but anyway thank you, lichess is great
It would be nice to have all that games in a database, but only if it would be available to all lichess players.
Perhaps a database dump every month (that would probably mean about 50Mb in Games)
And yes, scid would be nice or just a pgn dump compressed./ Having a single button to have mailed your own games would be nice, too.
I only found 2 posts on this subject and from what I understand there is still no way to download your own games in a PGN file?
the only thing I see at the top of my profile is the Export games button, what am I supposed to do with the CSV file? I open it in notepad and it doesnt look like it would translate into PGN so am I supposed to see my games with this? If not what is it for?
Yes the CSV file is a comma-separated values text resource.

It includes the PGN viewer links to see your game on Lichess.

Like, currently, my most recent game looks like this on the site in PGN:

lichess.org//d17uoaui/pgn

Ahh, crap.
I see thibault changed it from the inline-browser view from the DOWNLOAD-THIS-FILE-NOW view :).

Anyway it's the same link you get while replay and analyzing your games, where it gives you the "View PGN" link at the bottom.
I guess you could iteratively load http://en.lichess.org/games/all?page=PAGE, advancing page by one each time, and parse the anchors until you got a list of all of the game IDs.

After you got all of the game IDs, to download all of the games would be a relatively simple task; you would simply prepend "http://en.lichess.org/" and append "/pgn" to each game ID, and then save the response to a database.
Oops...it appears that thibault has placed a cap on the number of games you can call up from that page...and several other pages, preventing you from retrieving all of the game IDs.

The only other way I can think of to get the game IDs would be to get the top 1960 players from the "people" page (maximum thibault has allowed), and "export games" for each one of them. This still would not get you all of the games but it would get you many of them, since the top players are the ones who play the most.
Is there a plan to render it possible to download games in a batch as pgn? This feature is standard for serious chess sites. It is surprising to find that it is not already implemented.
Hello, not sure to be in the right topic.

When we export our games in .csv, then with which soft we can see again the games, please ?
(my computer open with calc of open office so no usefull).

Or is there a way to change the .csv in .pgn ?

This topic has been archived and can no longer be replied to.