scrapy attribute text code example
Example: scrapy get text custom tags
# Html example: <span property="rnews:datePublished">10/06/2020 16h56</span>
getData = response.xpath("//span[@property='rnews:datePublished']/text()").get()
# Output: '10/06/2020 16h56'