xpath定位实战(1)

1.执行scrapy shell "https://book.douban.com/subject/2256039/"

通过火狐浏览器的firebug和firepath插件查看页面元素的xpath

 

注意:

1.通过text()获取元素的属性值

posted @ 2016-12-21 10:39  Agoly  阅读(281)  评论(0编辑  收藏  举报