library(rvest)
url <- url("http://www.hkcah.com/index.phproute=product/category&path=76_94", "rb")
hkcah <- read_html(url)
photo_data_html <- html_nodes(hkcah,'#content img')
photo_data_html
photo_data <- html_text(photo_data_html)
photo_data
这就是我得到的:
photo_data
[1] "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
我想获取图像的链接,请帮助,谢谢!