这部分内容属于补充内容
1、xpath()
2、css()
3、正则表达式
# 多个值,列表 response.xpath('//a/text()').re('(.*?):s(.*)') # 取第一个值 response.xpath('//a/text()').re_first('(.*?):s(.*)')
注意:re和re_first不能直接使用,response.re()