Apologies if this question seems basic, but I am currently working on a simple project as a beginner and could really use some guidance. I'm struggling to extract the image link text (src) and can't seem to get the right selector. Below is an example of the CSS from the website:
<img class="s-item__image-img selectorgadget_selected" alt="Nintendo Switch (Red & Blue Joy-Con) & accessories! 6 Month Warranty!" src="https://i.ebayimg.com/thumbs/images/g/n8QAAOSwdepMFw0/s-l225.webp"
I've attempted something like this, however, it's not capturing anything:
product_image = product.css(
'.s-image__image-img::attr(src)').extract_first()
I have tried other selectors, but the presence of 'alt' in between is causing issues unlike the others. Any assistance would be greatly appreciated.