Description Usage Arguments Value Examples
Paste the main page url for homedepot.com to a character string of a partial url
1 |
x |
A string, a connection, or a raw vector. |
Scraping all product links from catalog pages returns partial links, this function appends the main url as a prefix.
1 2 3 4 5 6 | ## Not run:
x <- "http://www.homedepot.com/b/Electrical-Dimmers-Switches-Outlets/N-5yc1vZc34h"
links_part <- hd_get_product_links(x)
links_full <- hd_add_main_url(links)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.