Update README.md
This commit is contained in:
parent
b3484a8b7e
commit
996ed01403
20
README.md
20
README.md
|
@ -5,8 +5,8 @@ https://github.com/ultrafunkamsterdam/undetected-chromedriver
|
||||||
Optimized Selenium Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io
|
Optimized Selenium Chromedriver patch which does not trigger anti-bot services like Distill Network / Imperva / DataDome / Botprotect.io
|
||||||
Automatically downloads the driver binary and patches it.
|
Automatically downloads the driver binary and patches it.
|
||||||
|
|
||||||
* **Tested from version 80 until current beta**
|
* **Tested until current chrome beta versions**
|
||||||
* **Patching also works on MS Edge (chromium-based) webdriver binary**
|
* **Works also on Brave Browser and many other Chromium based browsers**
|
||||||
* **Python 3.6++**
|
* **Python 3.6++**
|
||||||
|
|
||||||
## Installation ##
|
## Installation ##
|
||||||
|
@ -20,6 +20,15 @@ To prevent unnecessary hair-pulling and issue-raising, please mind the **[import
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
#### The Version 2 way ####
|
||||||
|
Literally, this is all you have to do. Settings are included and your browser executable found automagically.
|
||||||
|
```python
|
||||||
|
import undetected_chromedriver.v2 as uc
|
||||||
|
driver = uc.Chrome()
|
||||||
|
with driver:
|
||||||
|
driver.get('https://coinfaucet.eu') # known url using cloudflare's "under attack mode"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
#### the easy way (recommended) ####
|
#### the easy way (recommended) ####
|
||||||
```python
|
```python
|
||||||
|
@ -28,13 +37,6 @@ driver = uc.Chrome()
|
||||||
driver.get('https://distilnetworks.com')
|
driver.get('https://distilnetworks.com')
|
||||||
```
|
```
|
||||||
|
|
||||||
#### the V2 (beta) way ####
|
|
||||||
```python
|
|
||||||
import undetected_chromedriver.v2 as uc
|
|
||||||
driver = uc.Chrome()
|
|
||||||
with driver:
|
|
||||||
driver.get('https://coinfaucet.eu') # known url using cloudflare's "under attack mode"
|
|
||||||
```
|
|
||||||
|
|
||||||
#### target specific chrome version ####
|
#### target specific chrome version ####
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in New Issue