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.
nyt_recipe
should be installed using pip
:
$ python3 -m pip install nyt-recipe
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..."