fe8362b02c3e8ff7a334d72c957bf7c75f870a96
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
Languages
Python
95.6%
PLpgSQL
2.5%
Dockerfile
1.5%
Shell
0.4%