Go to file
Andrei Stoica 3092f67899 added more units 2022-07-22 18:57:26 -04:00
docker/psql inital commit 2022-07-18 20:43:21 -04:00
src added more units 2022-07-22 18:57:26 -04:00
.gitignore inital commit 2022-07-18 20:43:21 -04:00
README.md updated TODO 2022-07-20 18:04:11 -04:00
docker-compose.yml inital commit 2022-07-18 20:43:21 -04:00
requirements.txt inital commit 2022-07-18 20:43:21 -04:00

README.md

Recipe Graph

Setup

Prerequisits

  • Docker compose
  • Python

Install python requirements

python -m pip installl -r requirements.txt

Start database

docker-compose up

Initialize database and recipe sites

python src/db.py
python src/inser_sites.py data/sites.json

Usage

import new recipes

python src/scrape.py <SiteName> <RecipeIdentifier>

TODO

☐ automate scraping
☐ extend importing funcionality to more websites
☐ extracting quantity and name (via regex)
☐ matching ingredients to recipe ingredients