xpath: def parse(self, response): data_list = response.xpath("//div[@id='list']/table/tbody").xpath(".//tr") for data in data_list: content = data.xpath('.//td/text()').extract() print(content) 这个不需要宣布记住,每次用到过来看看就ok了!