Skip to content

Commit b10e0af

Browse files
committed
docs: streamline README by removing redundant examples and images
1 parent db3d9e7 commit b10e0af

File tree

1 file changed

+2
-49
lines changed

1 file changed

+2
-49
lines changed

README.md

Lines changed: 2 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -171,48 +171,7 @@ print(data)
171171

172172
```
173173

174-
In the image below we can see the execution speed and the result of the automation.
175-
For demonstration purposes, the browser is not displayed.
176-
177-
![google_seach](./docs/images/google-search-example.gif)
178-
179-
180-
In just 5 seconds, we managed to extract all the necessary data! This is the
181-
speed you can expect from automation with Pydoll.
182-
183-
184-
### A more complex example
185-
186-
Let's now move to a case that you've probably encountered many times: a captcha
187-
like Cloudflare's. Pydoll has a method to try to handle this, although, as mentioned earlier, effectiveness depends on various factors. In the code below, we have a complete example of how to handle a Cloudflare captcha.
188-
189-
```python
190-
import asyncio
191-
192-
from pydoll.browser import Chrome
193-
from pydoll.constants import By
194-
195-
async def cloudflare_example():
196-
async with Chrome() as browser:
197-
tab = await browser.start()
198-
async with tab.expect_and_bypass_cloudflare_captcha():
199-
await tab.go_to('https://2captcha.com/demo/cloudflare-turnstile')
200-
print('Captcha handled, continuing...')
201-
await asyncio.sleep(5) # just to see the result :)
202-
203-
asyncio.run(cloudflare_example())
204-
205-
```
206-
207-
Below we have the result of the execution:
208-
209-
![cloudflare_example](./docs/images/cloudflare-example.gif)
210-
211-
212-
With just a few lines of code, we managed to handle one of the most
213-
difficult captchas to deal with. This is just one of the many functionalities that Pydoll
214-
offers. But it doesn't stop there!
215-
174+
We managed to extract all the necessary data!
216175

217176
### Custom Configurations
218177

@@ -494,13 +453,7 @@ async def concurrent_scraping():
494453
asyncio.run(concurrent_scraping())
495454
```
496455

497-
Below we see the incredible execution speed:
498-
499-
![concurrent_example](./docs/images/concurrent-example.gif)
500-
501-
502-
We managed to extract data from two pages at the same time! Tell me if that's not incredible?
503-
456+
We managed to extract data from two pages at the same time!
504457

505458
And there's much, much more! Event system for reactive automations, request interception and modification, and so on. Take a look at the documentation, you won't
506459
regret it!

0 commit comments

Comments
 (0)