scrapy的xpath,scrapy shell

 response.xpath('//*[@class="article-list"]//a/text()').extract()
 
 response.xpath('//*[@class="article-list"]//h4/a/@href').extract()
 
 response.xpath('//*[@class="article-list"]//a/@href').extract()
 
 scrapy shell https://blog.csdn.net/s98

没有更多推荐了,返回首页