Answers for "finding by class name using scrapy"

1

get href scrapy xpath

# with xpath
//div[@class='image']/a[1]/@href

# using css
Link = response.css('span.title a::attr(href)').getall()
Posted by: Guest on May-05-2020
0

scrapy xpath a rel next

'//a[@rel="next"]/@href'
Posted by: Guest on July-11-2020

Code answers related to "finding by class name using scrapy"

Python Answers by Framework

Browse Popular Code Answers by Language