So I start my scrapy shell with
scrapy shell 'https://www.amazon.com/s?k=tomatoes&ref=nb_sb_noss_1'
And I am trying to scrape the title of the products so I enter
response.xpath('//span[@class="a-size-base-plus a-color-base a-text-normal"]').getall()
and get: []
And when I tried it in CSS with
response.css("span.a-size-base-plus a-color-base a-text-normal").getall()
I still get: []
I don't understand why it isn't finding the element even though I am copying and pasting the tags and classes from the site.
I have also tried just writing a-size-base-plus for the classes in XPath and CSS but I still get nothing