Skip to main content

Downloads recipes from the NYT Cooking website and converts them into an Apple Notes-compatible format

Project description

PyPi License

nyt_recipe is a Python 3 script that is used to download recipes from NYT Cooking and save them to a file in a format that can be easily imported by Apple Notes.

Installation

nyt_recipe should be installed using pip:

$ python3 -m pip install nyt-recipe

Usage

Provide a URL or list of URLs to the script. The script will place the output files in the recipes directory inside the current user's home directory, or to the output directory specified by the -o argument.

$ nyt_recipe https://cooking.nytimes.com/recipes/1020044-vegetable-paella-with-chorizo
Saved recipe "Vegetable Paella With Chorizo" to /Users/ianbrault/recipes/vegetable_paella_with_chorizo.html

Then import the note into Apple Notes: "File > Import to Notes..."

example recipe

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

nyt_recipe-1.2.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

nyt_recipe-1.2.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file nyt_recipe-1.2.0.tar.gz.

File metadata

  • Download URL: nyt_recipe-1.2.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.6.0

File hashes

Hashes for nyt_recipe-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ec1ebdb0438f1db99df9b05f73fbf7bd9ece77b64d33929752349ed598991f06
MD5 d29eb32196676bdb2e9b467473bd5910
BLAKE2b-256 faa260d8512540dee931568d1d7572ccf1ad8f4b7c348835f6719343a4d579fa

See more details on using hashes here.

File details

Details for the file nyt_recipe-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: nyt_recipe-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.9.6 Darwin/24.6.0

File hashes

Hashes for nyt_recipe-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 71046cf19b248ffef372423cab86a5ef32e86f6737d693f2a7d0e387744b4398
MD5 705f167ee419891d09a7ee9902e1b94e
BLAKE2b-256 c38b40437551e525ecbf7cac3bf4308490808613602a71df9ec8362d20d27bd8

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