An automation tool for "Le CDV" student newspaper, designed to capture and save puzzles like Sudoku and Loopy from the web using Selenium WebDriver. It supports various puzzles, streamlining content gathering for the publication. Some puzzles are not currently supported due to solution access limitations.
The following 16 images are automatically captured from various puzzle websites using this project:
loopy.png/loopy_solution.pngsudoku_killer.png/sudoku_killer_solution.pngsudoku_moyen.png/sudoku_moyen_solution.pngsudoku_difficile.png/sudoku_difficile_solution.pngsudoku_diabolique.png/sudoku_diabolique_solution.pngirregulier_moyen.png/irregulier_moyen_solution.pngunequal_extreme.png/unequal_extreme_solution.pngadjacent_tricky.png/adjacent_tricky_solution.png
The following puzzles are not supported due to the absence of a direct solution provision mechanism on their respective websites:
kakuro.png/kakuro_solution.pnghanjie.png/hanjie_solution.pnglight_up.png/light_up_solution.pngmots_meles.png/mots_meles_solution.pngmots_fleches.png/mots_fleches_solution.png
The puzzles are captured from the following websites:
- Python 3.x
- Selenium WebDriver
- Clone the repository:
git clone https://github.com/matdou/CDVPuzzles
- Navigate to the project directory:
cd CDVPuzzles
- Install the required dependencies:
pip install -r requirements.txt
To run the script and start capturing puzzles:
python main.py
The script navigates through specified websites, captures images of puzzles and their solutions, and saves them to the specified directory.
Contributions to enhance the functionality or extend the range of supported puzzles are welcome. Please fork the repository and submit a pull request with your changes.