📜  获取 href scrapy xpath - Python 代码示例

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

代码示例1
# with xpath
//div[@class='image']/a[1]/@href

# using css
Link = response.css('span.title a::attr(href)').getall()