diff --git a/README.md b/README.md index 68e2d4b..d79eab8 100644 --- a/README.md +++ b/README.md @@ -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