Skip to main content

Download your whole Chess.com Library (chess.com/library)

Project description

Chess.com Library Exporter

A command line utility that uses Selenium (Chess.com please improve API support!) to help you download your entire archive of games in chess.com/library.

Usage

From PyPI:

$ pip install ChessComLibraryExporter
$ chess_library_exporter
Username: manuelpepe
Password: 

Found 6 collections
...

From source:

$ git clone https://github.com/manuelpepe/ChessComLibraryExporter
$ cd ChessComLibraryExporter
$ pip install -r requirements.txt
$ python chess_library_exporter.py
Username: manuelpepe
Password: 

Found 6 collections
...

By default, your library will be exported to a library/ directory in your current working directory. You can change it with the -o path/to/directory parameter.

Credentials can also be loaded from the CHESS_COM_LIBRARY_EXPORTER_USER and CHESS_COM_LIBRARY_EXPORTER_PASS environment variables or from a .env file.

Support

Firefox and Chrome are supported (use -b firefox or -b chrome, defaults to firefox). Headless mode can also be deactivated with the -H flag (Headless mode seems to break on Chrome).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ChessComLibraryExporter-0.7.2.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

ChessComLibraryExporter-0.7.2-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page