Recipe Scraper is a library allowing to scrape the recipes of big site such as marmiton, tasty and to feed a database.
Use golang to install recipe-scraper.
brew install go
go mod download
package main
import (
"recipe-scraper/models"
"recipe-scraper/scraping/marmiton"
)
func main() {
// insert in MongoDB all recipe (no duplicate) from marmiton and scrape N pages (3).
models.InsertManyRecipes(marmiton.InitScraping(3))
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.