Cannot scrape website using Selenium in Python

帅比萌擦擦* 提交于 2021-01-29 10:57:27

问题


Trying to scrape off some data from footlocker.com for an academic project but I get an error when I try to open the page using Selenium:

from selenium import webdriver


driver = webdriver.Chrome("/Users/rushabhnahar/Downloads/chromedriver")

driver.get("https://www.footlocker.com/adidas-Originals/Shoes/_-_/N- 
zrZrj?cm_REF=Shoes&crumbs=991")

It opens up the browser and the respective page but gives an error saying 'We are sorry'.

Any help will be appreciated.

来源:https://stackoverflow.com/questions/52397640/cannot-scrape-website-using-selenium-in-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!