匹配规则的展示
xpath匹配完后跟re匹配
response.xpath(...).re_first()
根据文章内容查询链接的匹配规则
response.xpath('//a[contains(.,"汉字")]//@href').extract_first()
xpath匹配完后跟re匹配
response.xpath(...).re_first()
根据文章内容查询链接的匹配规则
response.xpath('//a[contains(.,"汉字")]//@href').extract_first()