How to download all your games from chess.com

Sort:
cezarywagner

Hi everybody,

I wrote some tool (cw-download-chess-com-games) which allow to download all games from chess.com for analysis.

Some months before I asked about such tool and in answers to the question I found that most of them are too complex and buggy. So I wrote something which just works - you must to install Python 3.10 to use it.

bax56

Thanks so much for doing this, Cezary!  I do have one problem I'm running into late in the process (see output below from my Windows Command Prompt).  Can you help me with solving it?

C:\Users\Brent\Desktop\cw_download_chess_com_games-1.0.0\src\cw_download_chess_com_games>py -m cw_download_chess_com_games --user_name bax56
Traceback (most recent call last):
File "C:\Users\Brent\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\Brent\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\Brent\Desktop\cw_download_chess_com_games-1.0.0\src\cw_download_chess_com_games\cw_download_chess_com_games.py", line 6, in <module>
import requests as requests
ModuleNotFoundError: No module named 'requests'

CPTsopiens

Do you know how to download other's games? When searching for a date range, one can only down load one page at a time, instead of one button to select them all and download.

Any thoughts?