2022-07-20 18:04:11 -04:00
2022-07-18 20:43:21 -04:00
2022-07-18 20:43:21 -04:00
2022-07-18 20:43:21 -04:00
2022-07-18 20:43:21 -04:00
2022-07-20 18:04:11 -04:00
2022-07-18 20:43:21 -04:00

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

Description
No description provided
Readme 154 KiB
Languages
Python 95.6%
PLpgSQL 2.5%
Dockerfile 1.5%
Shell 0.4%