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
scrapy的xpath,scrapy shell
猜你喜欢
转载自blog.csdn.net/s98/article/details/87084626
今日推荐
周排行