Comments (16)
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.
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.
Issue resolved in v3.5.5
from undetected-chromedriver.
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.
Same issue, @ultrafunkamsterdam would you mind changing the URL?
from undetected-chromedriver.
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.
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.
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.
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"
todownload_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.
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"
todownload_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.
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"
todownload_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"
worked for me
from undetected-chromedriver.
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"
todownload_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.
Thanks, it worked for me.
from undetected-chromedriver.
I've been facing this issue in the Ubuntu environment. Do you know how I can fix this issue?
from undetected-chromedriver.
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.
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"
todownload_url = "https://storage.googleapis.com/chrome-for-testing-public/%s/%s/%s"
working for me
from undetected-chromedriver.
Related Issues (20)
- NoDriver: iframe usage HOT 29
- How do I take over an already open browser when I already know the port number HOT 2
- Chromedriver detected HOT 1
- selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:49929 from session not created: This version of ChromeDriver only supports Chrome version 123 Current browser version is 122.0.6261.129 HOT 4
- Nodriver: memory leak on Chromium 122.0.6261.128 HOT 7
- How to connect to a local chrome already opend?
- [Nodriver] Features
- Readme file contains releases descriptions
- with chrome update v123, script did not pass
- New version problems
- can not login google account HOT 1
- Not passing turnstile HOT 1
- nodriver bug with browser.cookies.set_all(..) HOT 7
- Nodriver: await browser.cookies.load() doesn't work HOT 7
- NoDriver: Page.addScriptToEvaluateOnNewDocument not working
- Detected on fingerprint.com HOT 11
- Still being detected on fingerprint.com
- Error 1015 HOT 2
- Throwing type error, can't locate its webdriver HOT 2
- Getting detected by CloudFare HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from undetected-chromedriver.