已采纳回答 / bwqyongyuan
content=i_item.xpath(".//div[@class='info']//div[@class='bd']/p[1]/text()").extract() content_s='' for i_content in content: content_s+="".join(i_content.split()) douban_item['introduce']=content_s
2019-04-23