a download tool for online crossword puzzles
Project description
xword-dl
xword-dl
is a command-line tool to download .puz files for online crossword puzzles. For a supported outlet, you can easily download the latest puzzle, or specify one from the archives.
Currently, xword-dl
supports:
- The New Yorker
- Newsday
- The LA Times
- The Wall Street Journal
- The Washington Post
- USA Today
- The Atlantic
To download a puzzle, install xword-dl
and run it on the command line.
Installation
To install xword-dl
, download or clone this repository from Github. From a terminal, simply running
python setup.py install --user
in the downloaded directory may be enough.
But you probably want to install xword-dl
and its dependencies in a dedicated virtual environment. I use virtualenv
and virtualenvwrapper
personally, but that's a matter of preference. If you're already feeling overwhelmed by the thought of managing Python packages, know you're not alone. The official documentation is pretty good, but it's a hard problem, and it's not just you. If it's any consolation, learning how to use virtual environments today on something sort of frivolous like a crossword puzzle downloader will probably save you from serious headaches in the future when the stakes are higher.
If you are installing in a dedicated virtual environment, run the above command without the --user
flag.
Usage
Once installed, you can invoke xword-dl
, providing the short code of the site from which to download. If you run xword-dl
without providing a site code, it will print some usage instructions and then exit.
For example, to download the latest New Yorker puzzle, you could run:
xword-dl tny --latest
or simply:
xword-dl tny
To download the Newsday Saturday Stumper and save it as stumper.puz
, you could enter:
xword-dl nd --date saturday --output stumper
The resulting .puz file can be opened with cursewords
or any other puz file reader.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for xword_dl-2020.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7997572469c79b340432c03164767f06b20592928ad991cd628f3f97e684bb2b |
|
MD5 | f675f0d82ab4b12ff2a1b591238bb6c6 |
|
BLAKE2b-256 | 750ddbd7ad3478a8946c8cd8ac2ed6d179903bfa158469a539e74c9ccc09344d |