选择文本 response.css('span::text') 选择href response.css('a::attr(href)') 转载于:https://www.cnblogs.com/allen2333/p/9691668.html