Skip to content

A little project that aims to automatically fetch crosswords from LeMonde, convert it to IPUZ format, and then saves them in an output folder

License

Notifications You must be signed in to change notification settings

DodoLeDev/lemonde-crosswords-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeMonde - Crosswords fetcher

This little project aims to automatically fetch crosswords from LeMonde, convert it to IPUZ format, and then saves them in an output folder

Warning

The current implementation does not work on the crosswords KOReader extension! Any help is appreciated

How to adjust settings for my personal use?

All the customizable settings have been moved to the top of the Python script. You just need to edit them as described

Settings reference

Setting name Description Example or default values
outputFolder Output folder, where all the converted crosswords will be saved ../crosswords (you can use relative paths)
leMondePuzzles Crossword IDs to fetch, convert and save. You can get them from the URL {'subfolderName': ["crosswordID-1", "crosswordID-2"]}
APItarget Advanced users only - Change the API endpoint to which the requests will be sent https://jeux-api.lemonde.fr/graphql

Typical example:

I want to fetch these crosswords (1 ; 2) and store the converted ipuz files in a subfolder called freeGrids in my /home/user/CWoutput folder.

Based on the URL, the crossword IDs are then free-1 and free-3, so my final configration would be as follows:

outputFolder = '/home/user/CWoutput'
leMondePuzzles = {
    "freeGrids": ['free-1', 'free-3']
}

Why did you create this?

I just wanted to have french crosswords for the crosswords KOReader plugin, but the IPUZ standard did not seem to be really democratized in this country...

License

This work is licensed under the GNU General Public License v3


LeMonde is a registered trademark by Société éditrice du Monde

About

A little project that aims to automatically fetch crosswords from LeMonde, convert it to IPUZ format, and then saves them in an output folder

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages