- Url<-"http://illuma.tmall.com/search.htm?spm=a1z10.4-b.w5001-7280993071.13.LhLkZK&scene=taobao_shop"
- html_session(Url)
- Web<-html(Url,encoding="GBK")
- #Customer Review
- #这是评论数
- CR<-Web%>%
- html("h4 a span")%>%
- html_text()%>%
- iconv("utf-8","gbk")
正常情况下,这样应该就可以获取了,但是在最后输出结果显示为
character(0)