scrapy select link by text code example
Example: get href scrapy xpath
# with xpath
//div[@class='image']/a[1]/@href
# using css
Link = response.css('span.title a::attr(href)').getall()
# with xpath
//div[@class='image']/a[1]/@href
# using css
Link = response.css('span.title a::attr(href)').getall()