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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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