Open woshiisp opened 4 years ago
https://github.com/crubba/Wiley-ADCR/blob/97f1e4ec88cad81b039e7ab6bb5e58091aba18d5/ch-16-amazon/ch-16-amazonScraper%201%20Exploration.r#L63
These codes could not run: xpath <- paste0('//span[@class="refinementLink" and text()="', keyword,'"]/../@href') restrictedSearchPageLink <- xpathApply(parsedFirstSearchPage, xpath)
I had run a while,the results is NULL.
https://github.com/crubba/Wiley-ADCR/blob/97f1e4ec88cad81b039e7ab6bb5e58091aba18d5/ch-16-amazon/ch-16-amazonScraper%201%20Exploration.r#L63
These codes could not run: xpath <- paste0('//span[@class="refinementLink" and text()="', keyword,'"]/../@href') restrictedSearchPageLink <- xpathApply(parsedFirstSearchPage, xpath)
I had run a while,the results is NULL.