Description Usage Arguments Value Examples
Returns the url of the next page of listings, or NA
if no more
page is available
1 | parse_next_listpage_url(listpagehtml, domain = "https://geizhals.at")
|
listpagehtml |
html structure from a single geizhals page listing
items in a selected category, as gathered via |
domain |
Character vector of length one specifying the domain.
Defaults to |
Character vector of length 1 with the full url of the next page
with product listings, or NA
if no more page is available.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
## url of next page:
url_geizhals <- "https://geizhals.at/?cat=acam35"
listpagehtml <- xml2::read_html(url_geizhals)
parse_next_listpage_url(listpagehtml)
## or NA if no next page available:
url_geizhals <- "https://geizhals.at/?cat=acam35&pg=3#productlist"
listpagehtml <- xml2::read_html(url_geizhals)
parse_next_listpage_url(listpagehtml)
## get html from a geizhals.eu page and parse:
url_geizhals <- "https://geizhals.eu/?cat=acam35"
listpagehtml <- xml2::read_html(url_geizhals)
parse_next_listpage_url(listpagehtml, domain = "https://geizhals.eu")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.