我试图刮上玩具反斗城的页面的特定字段...刮网站只能使用一次
http://www.toysrus.com/product/index.jsp?productId=13157031
与选择“价格”。
它的所有工作一次性通过页面加载,那么它永远不会再工作。有些网站是否有防止人们刮取其内容的方法?我有点新鲜,请温和。我使用Wordpress,WP-Web的刮刀,并作为代码在页面下面:
Price:
[wpws url="http://www.toysrus.com/product/index.jsp?productId=13157031"
selector="price" on_error="error_show" user-agent="diaperbot"]