03-xpath用法
1.chrome中,f12,放大镜点到元素上, 下面的元素代码中右键, copy xpath
2.scrapy shell调试
虚拟环境中, scrapy shell
http://blog.jobbole.com/114461/
title = response.xpath('//*[@id="post-114461"]/div[1]/h1/text()')
title.extract()[0]
create_date = response.xpath('//*[@id="post-114461"]/div[2]/p/text()').extract()[0].strip().replace('·', '').strip()