Git Product home page Git Product logo

Comments (16)

opemvbs avatar opemvbs commented on May 24, 2024 34

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s"
to
download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

from undetected-chromedriver.

omkmorendha avatar omkmorendha commented on May 24, 2024 6

This is a command you can use after going to the (virtual env path)/lib/python3.xx/site-packages/undetected_chromedriver directory

sed -i "s|download_url = \"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s\"|download_url = \"https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s\"|g" patcher.py

from undetected-chromedriver.

ilike2burnthing avatar ilike2burnthing commented on May 24, 2024 3

Issue resolved in v3.5.5

from undetected-chromedriver.

Alexandero89 avatar Alexandero89 commented on May 24, 2024

If you are using a Dockerfile you can just add this line somewhere at the end of the Dockerfile:
RUN cd /usr/local/lib/python3.11/site-packages/undetected_chromedriver && sed -i "s|download_url = \"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s\"|download_url = \"https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s\"|g" patcher.py

Maybe you have to adjust the path where you cd in.

from undetected-chromedriver.

Nygosaki avatar Nygosaki commented on May 24, 2024

Same issue, @ultrafunkamsterdam would you mind changing the URL?

from undetected-chromedriver.

Nygosaki avatar Nygosaki commented on May 24, 2024

This is a command you can use after going to the (virtual env path)/lib/python3.xx/site-packages/undetected_chromedriver directory

sed -i "s|download_url = \"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s\"|download_url = \"https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s\"|g" patcher.py

I am getting sed: 1: "patcher.py": extra characters at the end of p command

from undetected-chromedriver.

espoir911 avatar espoir911 commented on May 24, 2024

what does this url contain, is it possible to download it locally and open it locally to make sure the problem doesn't recur?

from undetected-chromedriver.

mshot avatar mshot commented on May 24, 2024

what does this url contain, is it possible to download it locally and open it locally to make sure the problem doesn't recur?

binaries for testing - https://storage.googleapis.com/chrome-for-testing-public/121.0.6167.184/win64/chrome-win64.zip

from undetected-chromedriver.

ifeldshteyn avatar ifeldshteyn commented on May 24, 2024

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" to download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

Confirmed this fixed it for me. Can we disable patching in general?

from undetected-chromedriver.

Martini002 avatar Martini002 commented on May 24, 2024

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" to download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

confirmed, worked for me too, can someone explain us what the patcher.py does, is it really needed?
thank you

from undetected-chromedriver.

charlbury avatar charlbury commented on May 24, 2024

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" to download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

worked for me

from undetected-chromedriver.

aaqibmehrban avatar aaqibmehrban commented on May 24, 2024

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" to download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

I had issue on 2 pcs, for one it worked and for other when i restarted, it automatically worked without needing to edit patcher.py

from undetected-chromedriver.

ror74559 avatar ror74559 commented on May 24, 2024

Thanks, it worked for me.

from undetected-chromedriver.

hemalsimon avatar hemalsimon commented on May 24, 2024

I've been facing this issue in the Ubuntu environment. Do you know how I can fix this issue?
Screenshot 2024-02-17 124102

from undetected-chromedriver.

julien-fr avatar julien-fr commented on May 24, 2024

This is a command you can use after going to the (virtual env path)/lib/python3.xx/site-packages/undetected_chromedriver directory

sed -i "s|download_url = \"https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s\"|download_url = \"https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s\"|g" patcher.py

Fastest working solution! Thanks.

from undetected-chromedriver.

xzcrrazykidzx avatar xzcrrazykidzx commented on May 24, 2024

I temporarily fixed in my device by changing a line in your local undetected_chromedriver installation patcher.py file, but I think it'll work just fine on other people too.

download_url = "https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/%s/%s/%s" to download_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"

working for me

from undetected-chromedriver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.