intrude解析错误
content = i_item.xpath(".//div[@class='info']//div[@class='bd']/p[1]/text()").extract_first() for i_content in content: content_s = "".join(i_content.split()) douban_item['introduce'] = content_s
解析出来后,值为. 或者单个字符,不正常
content = i_item.xpath(".//div[@class='info']//div[@class='bd']/p[1]/text()").extract_first() for i_content in content: content_s = "".join(i_content.split()) douban_item['introduce'] = content_s
解析出来后,值为. 或者单个字符,不正常
2018-09-02
举报