web_scrape_urls {textpress} | R Documentation |
Scrape News Data from Various Sources
Description
Function scrapes content of provided list of URLs.
Usage
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
## Not run:
url <- 'https://www.nytimes.com/2024/03/25/nyregion/trump-bond-reduced.html'
article_tif <- web_scrape_urls(x = url, input = 'urls', cores = 1)
## End(Not run)
[Package textpress version 1.0.0 Index]