How to use the Xpth
about '//' , '/' , and 'text()'
title = response.xpath('//div[@class="entry-header"]/h1/text()')
Look at the code under the sentence
//div[@class="entry-header"]/h1/text()
//div[class="entry-header"]
find the tag <div> which class is "entry-header" in the all text
/h1
find the tag <h1> in the <div class = "entry-header"></div>
/text()
get the text in the <h1></h1>