I'm trying to scrape this website: https://www.ikea.com/mx/es/cat/vajillas-18860/
I have the whole thing working fine, except for one thing that is bugging me.
When I load that website as a normal user with my browser, I always get around 99 products. However, when I load it using chrome webdriver and selenium (without any processing occurring yet), I sometimes get around 68 products, and sometimes I do get the 99 products.
My guess is the site somehow knows I'm using a scraper, and makes some weird stuff. I've tried adding some options I found in other posts to the webdriver, but have had no success yet:
chrome_opt.add_experimental_option("excludeSwitches", ["enable-automation"])
chrome_opt.add_experimental_option("useAutomationExtension", False)
Do you guys know what could be causing this, and how to prevent it?
EDIT1
Tried adding different user-agent as suggested, still didn't work:
chrome_opt.add_argument( "user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:63.0) Gecko/20100101 Firefox/63.0" )