Selenium headless browser webdriver [Errno 104] Connection reset by peer

后端 未结 3 926
野的像风
野的像风 2020-12-10 05:25

I am trying to scrape data from the URLs below. But selenium fails when driver.get(url) Some times the error is [Errno 104] Connection reset by peer

3条回答
  •  鱼传尺愫
    2020-12-10 05:49

    Found this question while looking for similar error. Look's like it's a selenium 3.8.1 and 3.9.0 bug.

    https://github.com/SeleniumHQ/selenium/issues/5296

    Downgrade to 3.8.0 solves this problem

提交回复
热议问题