📜  scrapy 获取内部属性值 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:32.836000             🧑  作者: Mango

代码示例1
#Given 


# to get the attribute value datetime:
getData = response.css('time::attr(datetime)').get()

# output
'2020-09-01T11:48:24-03:00'