chez-grater-0.1.0: Parse and scrape recipe blogs
Safe HaskellNone
LanguageHaskell2010

Chez.Grater.Scraper

Synopsis

Documentation

scrape :: (ScrapedRecipeName -> a) -> ([ScrapedIngredient] -> Either Text [b]) -> ([ScrapedStep] -> Either Text [c]) -> Scrapers -> Manager -> URI -> IO (a, [b], [c], ScrapeMetaWrapper) Source #

Scrape a recipe. This is the low-level API, used by Grater.