I am trying scrape this page, when I do scrapy shell "https://redsea.com/en/apple-iphone-x-64gb-silver.html"
, it downloads the html page and I can view the downloaded html with view(response)
in the browser:
But when I try to get any data -product name, for example- by response.css('.page-title')
it gives me empty response:
Scraping a website that fetches data using rest-api using scrapy just downloads the website structure html without data and it makes sense that scrapy cannot get that data. But in this case scrapy downloads the html file with data but not able to read it using css or xpaths. I don't understand this behavior.