meyer0x / recipe-scraper

Recipe Scraper is a library allowing to scrape the recipes of big site such as marmiton, tasty and to feed a database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recipe-scraper

Recipe Scraper is a library allowing to scrape the recipes of big site such as marmiton, tasty and to feed a database.

Installation

Use golang to install recipe-scraper.

brew install go
go mod download

Usage

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)) 
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Scraping is illegal, Please, for education purpose only

License

MIT

About

Recipe Scraper is a library allowing to scrape the recipes of big site such as marmiton, tasty and to feed a database.


Languages

Language:Go 100.0%