forked from KatieZZY/grocerylist
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Grocery List | ||
This code allows users to input a list of URLS with recipes and outputs a csv file with ingredient type, ingredient name, amount and associated recipe. | ||
|
||
More information on the background on this work can be found on my blog post here. | ||
|
||
# Prerequisites | ||
To run this, code, you need to: | ||
* have installed the latest version of Python | ||
* have a Windows machine | ||
* be connected to the internet | ||
|
||
# Using Grocery List on your computer | ||
Download the following files into the same directory | ||
* grocery.py | ||
* sr27asc files to identify food groups (USDA National Nutrient Database for Standard Reference, Release 27) | ||
|
||
Create a .txt file in the same directory listing a URL with the recipe on each line. For example: | ||
``` | ||
https://thewoksoflife.com/chinese-walnut-cookies/ | ||
https://www.justonecookbook.com/japanese-potato-salad/ | ||
https://tasty.co/recipe/fluffy-jiggly-japanese-cheesecake | ||
``` | ||
# Sources | ||
The ingredient parser in this code uses the open source engine at by [schollz](https://schollz.com/blog/ingredients/). |