Description Usage Arguments Value Examples
Construct the urls for the multiple return pages for a given catalog
1 | hd_build_multi_page_links(x, pages = pages_max)
|
x |
A string, a connection, or a raw vector. |
pages |
An integer, the number of pages included in the catalog (default is to find automatically but you can override) |
Returns of vector of character strings containing urls for all pages of search results for a catalog of products on HD
1 2 3 4 5 6 | ## Not run:
x <- "http://www.homedepot.com/b/Electrical-Dimmers-Switches-Outlets/N-5yc1vZc34h"
links <- hd_build_multi_page_links(x)
all_prods_in_cat <- map(links, hd_get_product_links)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.