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'

Here is what the above code is Doing:
1. response.css() is a method that takes a CSS selector as an argument and returns a list of Selector objects.
2. The Selector object has a number of methods that allow you to extract data from the HTML.
3. The get() method returns the data as a string.