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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xword_dl-2020.11.9.tar.gz.
File metadata
- Download URL: xword_dl-2020.11.9.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f480e521fa07467c26b298555dca793165b017a4e85f6b83e7aa21955f74aad4
|
|
| MD5 |
5ff069d3b712fceacb4dbbf0982a1c23
|
|
| BLAKE2b-256 |
a66ed163020f127369444d4cebf8673ad958752df1eb33425f2bec31e54c3503
|
File details
Details for the file xword_dl-2020.11.9-py3.8.egg.
File metadata
- Download URL: xword_dl-2020.11.9-py3.8.egg
- Upload date:
- Size: 16.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ab5665f02ab7755cf17a1be6c023089fcf9981ea0a328d9135a6b8ef1d70055
|
|
| MD5 |
8976814144b858c730f479347b0370f6
|
|
| BLAKE2b-256 |
588835ddf6466d2dd9066c476c885d54eaed900e5f41a59b3a06a2b719558c3f
|
File details
Details for the file xword_dl-2020.11.9-py3-none-any.whl.
File metadata
- Download URL: xword_dl-2020.11.9-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68fc4d71c6f7fd49934ff13f0af908d72ba555c0c263f056f9b971c0cb31318d
|
|
| MD5 |
3f2282467cc2cbe00f69ef84d217c426
|
|
| BLAKE2b-256 |
a6d5974d21e37088bd716148ba2eb3305ae349d840aecd92b3399947b5ee91c7
|