Function scrapes content of provided list of URLs.

web_scrape_urls(x, cores = 3)

Arguments

x

A character vector of URLs.

cores

The number of cores to use for parallel processing.

Value

A data frame containing scraped news data.

Examples

if (FALSE) { # \dontrun{
url <- 'https://www.nytimes.com/2024/03/25/nyregion/trump-bond-reduced.html'
article_tif <- web_scrape_urls(x = url, input = 'urls', cores = 1)
} # }