deedy5 / duckduckgo_search

Search for words, documents, images, videos, news, maps and text translation using the DuckDuckGo.com search engine. Downloading files and images to a local hard drive.
MIT License
932 stars 117 forks source link

V3.9.7 #137

Closed deedy5 closed 7 months ago

deedy5 commented 7 months ago

1) add core exceptions, 2) remove retries in _get_url(), 3) raise ApiException if resp.status_code==403, 4) raise RateLimitException if resp.status_code==202, 5) sleep(0.75) between API requests if proxies is None, 6) sort imports, lint and format .py files with Ruff, 7) pytest: sleep(1) between tests.