I have a python scrapy - scraper used to scrape an ecommerce site at the moment it is unable to scrape the brand logo name - and brand logo image url - I dont need to download the actual logo - previous working code is
l.add_xpath("manufacturer", ".//img[contains(@class, 'product-brand-logo')]/@src")
l.add_xpath("manufacturer_logo_image_url", ".//img[contains(@class, 'product-brand-logo')]/@src")
The source code for that section from the website is
<div class="product-price-details">
<div class="product-details">
<div class="product-brand-logo visible-xs visible-sm product-brand-logo--flex">
<a href="/vogue/_/a33-1" manual_cm_sp="PDP%20brand%20click-_-Vogue-_-D161">
<img class="product-brand-logo__image " data-src="https://media.testdom.com/asset/en/brand/large/vogue.jpg" alt="Vogue" title="Vogue" />
</a>
<div class="js-tooltip product-brand-logo__tooltip" data-tooltip="true">
<a href="/vogue/_/a33-1" manual_cm_sp="PDP%20brand%20click-_-Vogue-_-D161">
Browse our full Vogue range</a>
Please can someone help correct the previous code which was working until now - to reflect the changes made in the site
When the scraper is running no error is shown - it just doesnt scrape the required data and columns are blank for both
Thanks