get text from xpath scrapy python code example
Example: scrapy get inside attribute value
#Given
# to get the attribute value datetime:
getData = response.css('time::attr(datetime)').get()
# output
'2020-09-01T11:48:24-03:00'
#Given
# to get the attribute value datetime:
getData = response.css('time::attr(datetime)').get()
# output
'2020-09-01T11:48:24-03:00'