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
927 stars 117 forks source link

v5.0 | Breaking changes! #190

Closed deedy5 closed 4 months ago

deedy5 commented 4 months ago

1) [BREAKING CHANGES!!!] DDGS, AsyncDDGS : all functions are now not generators, but return results as a list of dictionaries, 2) DDGS, AsyncDDGS: added max_clients parameter to regulate the number of concurrent HTTP clients. 3) DDGS, AsyncDDGS: added possibility to use without context manager (it is not necessary to use with block). 4) Results return is dramatically sped up by asynchronous requests under the hood, especially for large max_results values. 5) maps(): removed MapsResult model, results are saved directly by the dictionary. 6) updated CLI and tests to keep up with the changes. 7) updated README.