Skip to main content

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 from supported outlets or arbitrary URLs. For a supported outlet, you can easily download the latest puzzle, or specify one from the archives.

Currently, xword-dl supports:

  • Atlantic
  • Daily Beast
  • LA Times
  • New Yorker
  • Newsday
  • USA Today
  • Universal
  • Wall Street Journal
  • Washington Post
  • Vox

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

You can also download puzzles that are embedded in AmuseLabs solvers or on supported sites by providing a URL, such as:

xword-dl https://rosswordpuzzles.com/2021/01/03/cover-up/

The resulting .puz file can be opened with cursewords or any other puz file reader.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xword_dl-2021.7.30.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xword_dl-2021.7.30-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file xword_dl-2021.7.30.tar.gz.

File metadata

  • Download URL: xword_dl-2021.7.30.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

File hashes

Hashes for xword_dl-2021.7.30.tar.gz
Algorithm Hash digest
SHA256 141671e16a65cfbe9b11f4cf5b7c6c56c655a559e5dd872dc3e630f9bb00292c
MD5 5852f12902719d116dcae27eec8d9a9e
BLAKE2b-256 935874728537a0c003280ed2133370c77a23ce2626bac4dfdcfb90d3f01ea4b8

See more details on using hashes here.

File details

Details for the file xword_dl-2021.7.30-py3-none-any.whl.

File metadata

  • Download URL: xword_dl-2021.7.30-py3-none-any.whl
  • Upload date:
  • Size: 13.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

File hashes

Hashes for xword_dl-2021.7.30-py3-none-any.whl
Algorithm Hash digest
SHA256 8bff2d9956ba243a0bce54a23425a5b0455b18b0dc866e08809e4c939dfd5668
MD5 702d2196d4a0fc5851b8d4033de597e2
BLAKE2b-256 624031176b61d8c915a5d30aea7dd257993e295cf7603bfb3ea8229aa3171ff3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page