Skip to content

Commit

Permalink
2.1.1 code cleanup, added v2 example to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Feb 4, 2021
1 parent 2e2047d commit 10b341b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,22 @@ To prevent unnecessary hair-pulling and issue-raising, please mind the **[import

<br>


#### the easy way (recommended) ####
```python
import undetected_chromedriver as uc
driver = uc.Chrome()
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 ####
```python
import undetected_chromedriver as uc
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="undetected-chromedriver",
version="2.1.0",
version="2.1.1",
packages=["undetected_chromedriver"],
install_requires=["selenium",],
url="https://github.com/ultrafunkamsterdam/undetected-chromedriver",
Expand Down

0 comments on commit 10b341b

Please sign in to comment.