UNPKG

recipe-scraper

Version:

A JS package for scraping recipes from the web.

11 lines (7 loc) 238 B
"use strict"; const ScraperFactory = require("../helpers/ScraperFactory"); const recipeScraper = async url => { let klass = new ScraperFactory().getScraper(url); return await klass.fetchRecipe(); }; module.exports = recipeScraper;