摘要: 将字符串转换成对象: - 方式一: response.xpath('//div[@id='content-list']/div[@class='item']') - 方式二: from scrapy.selector import HtmlXPathSelector hxs = HtmlXPathS 阅读全文
posted @ 2018-03-28 20:59 nick560 阅读(136) 评论(0) 推荐(0) 编辑