Skip to content

Automates the process of downloading pgn files from the US Chess Federation Chess Life Magazine using selenium and webdriver

License

Notifications You must be signed in to change notification settings

Pythoript/Download-Chess-Life-Magazine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Download PGNs from Chess Life Magazine

Automates the process of downloading pgn files from the US Chess Federation Chess Life Magazine using selenium and webdriver

Features

  • Concurrently scrapes multiple pages to find download links
  • Downloads files using Selenium with ChromeDriver
  • Configurable download directory and browser options
  • Logs errors to file for troubleshooting

Requirements

  • Python 3.x
  • requests
  • beautifulsoup4
  • selenium
  • ChromeDriver compatible with your Chrome version

Installation

  1. Install the required Python packages:
pip install requests beautifulsoup4 selenium
  1. Download a compatible version of ChromeDriver

  2. Update CHROME_PATH to your Chrome executable.

  3. Set CHROME_DRIVER_PATH to your ChromeDriver executable.

  4. Optionaly set DOWNLOAD_DIR

Usage

Run the script from the command line:

python clm.py

Troubleshooting

  • Ensure ChromeDriver is compatible with your installed version of Chrome.
  • Check the selenium.log file for details on any errors encountered during execution.
  • Verify that the configured download directory exists and is writable.

TODO

  • Fix issue with Chrome downloading files in wrong directory

About

Automates the process of downloading pgn files from the US Chess Federation Chess Life Magazine using selenium and webdriver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages