1、 title = response.xpath("//div[@class='entry-header']/h1/text()")
2、 title = response.xpath("//div[@class='entry-header']/h1/text()").extract()
3、 title = response.xpath("//div[@class='entry-header']/h1/text()").extract()[0]
4、title = response.xpath("//div[@class='entry-header']/h1/text()")[0].extract()
5、 title = response.xpath("//div[@class='entry-header']/h1/text()")[0].extract()[0]