I'm trying to extract the value of the attribute data-asin-price
inside a <div>
tag
Which in the example below you can see is 22.63
<div id="cerberus-data-metrics" style="display: none;" data-asin="B079GMRZ8S" data-asin-price="22.63" data-asin-shipping="0.0" data-asin-currency-code="AUD" data-substitute-count="-1" data-device-type="WEB" data-display-code="Asin is not eligible because it is not enabled"></div>
Is there any way to do this using response.xpath() with scrapy?
Thank you