This commit is contained in:
UltrafunkAmsterdam 2022-12-28 15:43:42 +01:00
parent 07abe814a6
commit 0214c9fbbe
1 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ Automatically downloads the driver binary and patches it.
* added an example containing some typical webdriver code, answers to commonly asked questions,
pitfalls + showcasing some tricks to ditch the need for multithreading.
### [>>>> example code here <<<<](https://github.com/ultrafunkamsterdam/undetected-chromedriver/blob/master/undetected_chromedriver/example/example.py)
### [>>>> example code here <<<<](https://github.com/ultrafunkamsterdam/undetected-chromedriver/master/example/example.py)
* added WebElement.click_safe() method, which you can try in case you get detected
after clicking a link. This is not guaranteed t o work.
@ -29,7 +29,7 @@ pitfalls + showcasing some tricks to ditch the need for multithreading.
# get the 6th child (any tag) of body, and grab all img's within (recursive).
images = body.children()[6].children('img', True)
srcs = list(map(lambda _:_.attrs.get('src'))
srcs = list(map(lambda _:_.attrs.get('src'), images))
```
* added example.py where i can point people at