Releases: deedy5/duckduckgo_search
Releases · deedy5/duckduckgo_search
v5.3.0
v5.3.0
- add proxy, deprecate proxies parameter
- handling exceptions more gracefully when using asyncio.gather()
- AsyncDDGS|DDGS.del(): improve logic and add check - if hasattr(se…
- AsyncDDGS.del(): suppress RuntimeWarning
- RatelimitException: add Ratelimit to message
- make executor and parser property
- bypass curl_cffi warning on windows
Full Changelog: v5.2.2...v5.3.0
v5.3.0b3
v5.3.0b2
v5.3.0b1 - Special release with `httpx`
This is a special release that uses the httpx
library
v5.2.2
v5.2.1
v5.2.0
What's Changed
- Improve exception handling and add RatelimitException and TimeoutException by @deedy5 in #201
- Optimize package size: make lxml optional and orjson mandatory by @deedy5 in #202
- AsyncDDGS._get_executor(): bugfix - using the _executor class variable as a cache
- Extend DDGS and AsyncDDGS for both context-manager and standalone use
- CLI: catch exceptions
- update Readme
Full Changelog: v5.1.0...v5.2.0
v5.1.0
What's Changed
- BUGFIX: _text_api() - update request payload (api blocks requests)
- Add mypy type-checking, recode to comply by @deedy5 in #193
- maps(): raise exception if coordinates are not found
- DDGS: make _loop class variable
- AsyncDDGS: make _executor class variable
- utils.py: _is_500_in_url() - decorate with lru_cache
- AsyncDDGS.init(): add 'self._parser' for reuse lxml HtmlParser within class instance
Full Changelog: v5.0...v5.1.0
v5.0
What's Changed
- [BREAKING CHANGES] DDGS, AsyncDDGS : all functions are now not generators, but return a list of dictionaries
- Results return is dramatically sped up by asynchronous requests under the hood, especially for large max_results values
- DDGS: reuse shared event loop,running in thread
- AsyncDDGS: add global _SHARED_EXECUTOR for using in run_in_executor
- maps(): removed MapsResult model, results are saved directly by the dictionary
- maps(): divide bbox only if distance between coordinates > 1km
- _extract_vqd(): replace regex pattern with .index
- text(): simplify xpath patterns in _text_html() and _text_lite()
- using orjson if installed
- update CLI and tests to keep up with the changes
- update dependencies: curl-cffi to 0.6.2, ruff to 0.3.0
Full Changelog: v4.5.0...v5.0
v5.0b1
- AsyncDDGS, DDGS: remove
max_clients
parameter (unclear behavior). - AsyncDDGS, DDGS: add
concurrency
parameter to limit the number of concurrent requests (using asyncio.Semaphore). - AsyncDDGS.maps(): add squares into queue only if distance between coordinates > 1km.
- AsyncDDGS.maps(): bugfix exception when work_bboxes_results element is a dict.
- _extract_vqd(): replace regex pattern with .index().
- Update dependencies: curl-cffi to 0.6.2. ruff to 0.3.0.
Full Changelog: v5.0b...v5.0b1