Scrapy also provides an extension to CSS selectors ( ::attr(...) ) which allows to get attribute values: >>> response.css('a::attr(href)').getall() ...
確定! 回上一頁