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.

$ 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.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

nyt_recipe-1.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nyt_recipe-1.1.0.tar.gz
Algorithm Hash digest
SHA256 4ff73351cfa11d6a9187a8d100cc12e60cde801a97b127dbbf3812d9ebf5204c
MD5 aa714ce17df80bab97e062836a003cbf
BLAKE2b-256 8acb14d924900402cf4a40fe6e740f48de77257158c44fb511d6bebe7db9e964

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nyt_recipe-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9873f0f87159fdf32a4429495454cfed22e052d0619f3b70846bced8224dff06
MD5 62db676c44529b4bd89320b17f910a84
BLAKE2b-256 24b5ff319572fde3333f78b0327790817e50e90a91baada35aa100cb7d425f2e

See more details on using hashes here.

Supported by

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