Answers for "how to deselect given div with class name while extracting div in 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

Code answers related to "how to deselect given div with class name while extracting div in scrapy"

Python Answers by Framework

Browse Popular Code Answers by Language