Recipe_Pull: BBC Food recipes scrape

Description Usage Arguments Value

Description

Recipe_Pull takes the saved sitemap of the bccfood website and uses it to pull all the recipes from the website into a list of lists for futher use.

Usage

1
Recipe_Pull(sitemap.url = NULL, sitemap.path = NULL, failed = NULL)

Arguments

sitemap.url

URL of sitemap. Default = NULL which triggers reading a sitemap listed in sitemap.path. If sitemap.path is not NULL then this will be used in stead of sitemap.url

sitemap.path

Path of sitemap file. Default = NULL which triggers reading the saved bbc.co.uk/food/sitemap.xml data.

failed

Vector which is returned from Recipe_Pull which contains the positions of failed urls

Value

List of list of recipes


OJWatson/waities documentation built on May 7, 2019, 8:34 p.m.