Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
deedy5 authored May 28, 2023
1 parent 71a008b commit 0982937
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ ___
[Go To TOP](#TOP)

## Using proxy
If you send too many requests the site blocks ip for up to one minute and DDGS will raise an exception
`requests.exceptions.HTTPError: 418 Client Error: for url: https://duckduckgo.com/`.
If you send too many requests the site blocks ip for up to one minute and DDGS will raise an exception.
In this case, you need repeat again after a while or to use a proxy ([httpx documentation](https://www.python-httpx.org/advanced)).
You can set a timeout if the proxy takes a long time to respond (default timeout=10).

Expand Down

0 comments on commit 0982937

Please sign in to comment.