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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ChessComLibraryExporter-0.7.2.tar.gz.

File metadata

File hashes

Hashes for ChessComLibraryExporter-0.7.2.tar.gz
Algorithm Hash digest
SHA256 42e67aaf4f4e3b02d6f036a5f6f06198dcb5aa259badfa7928005ef3199d4267
MD5 e943baec998a277d3fc3754c096643f4
BLAKE2b-256 a361a8f6ce8bdcee9b69ce49b57ee20fa1afbed973252c4ece844ed037b312d3

See more details on using hashes here.

File details

Details for the file ChessComLibraryExporter-0.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ChessComLibraryExporter-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97931ca4c6d45ad135dab2757a4144872909219370e87001a8586192d1e45911
MD5 9982c3ab117dfccb2ab023ed9e976f74
BLAKE2b-256 81b486bae5d6d27be1930e30c5ea4df498c9ed91d4652e7e82a861fe5802a6e3

See more details on using hashes here.

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