Displaying 1 result from an estimated 1 matches for "getallpag".
Did you mean:
getallpars
2018 May 23
0
Using R htmlParse() for manipulating URLs to access multiple pages
...o scrape the single URLs one by one. Hence, I am considering the base URL for parsing and to start from there onward.
baseurl <- htmlParse( "https://home.lala.com/bibi/blabla/",
encoding = "UTF-8")
xpath <- "//div[@id='Page']/strong[2]"
GetAllPages <- as.numeric(xpathSApply(baseurl, xpath, xmlValue))
Nevertheless, it does not work at all:
> GetAllPages
numeric(0)
Any hint?
[[alternative HTML version deleted]]