Duckduckgo-search

Latest version: v6.3.6

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 24

5.2.2

* [BUGFIX] [Improved instance closing, set stream to False when making a request](https://github.com/deedy5/duckduckgo_search/commit/71125411a9a95cf7bfd4ec11d4b4affa3551512f)
* [Delay between tests set to 0.5 second](https://github.com/deedy5/duckduckgo_search/commit/56eaacca6411febd8b62e2ccda594bbcdf5a3b79)
* [Update requirements](https://github.com/deedy5/duckduckgo_search/commit/a67cb37170a2f3b1b7d568dd7db924eeb8155cbc)
* [Update github workflows](https://github.com/deedy5/duckduckgo_search/commit/ec1792313ec9eaa0d546aa167dedbea34a4297ca)

**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v5.2.1...v5.2.2

5.2.1

* [[BUGFIX] AsyncDDGS._text_api(): change payload to prevent blocking](https://github.com/deedy5/duckduckgo_search/commit/54fc8a4c5262577436f16197c8ab4761f7ab3f94)

**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v5.2.0...v5.2.1

5.2.0

What's Changed
* Improve exception handling and add RatelimitException and TimeoutException by deedy5 in https://github.com/deedy5/duckduckgo_search/pull/201
* Optimize package size: make lxml optional and orjson mandatory by deedy5 in https://github.com/deedy5/duckduckgo_search/pull/202
* [AsyncDDGS._get_executor(): bugfix - using the _executor class variable as a cache](https://github.com/deedy5/duckduckgo_search/commit/5dc77bb2e596e43846718cda572aa2392c4f80a7)
* [Extend DDGS and AsyncDDGS for both context-manager and standalone use](https://github.com/deedy5/duckduckgo_search/commit/87b548b1018b2a68b8186b1d9fd4dd6536a06694)
* [CLI: catch exceptions](https://github.com/deedy5/duckduckgo_search/commit/9b67b7890fa14c5a444c61f06906a1daaeec05c3)
* update Readme

**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v5.1.0...v5.2.0

5.1.0

What's Changed
* [BUGFIX: _text_api() - update request payload (api blocks requests)](https://github.com/deedy5/duckduckgo_search/commit/9c72db0fb4ecdcfe982a23e94ee4f50b20d8610a)
* Add mypy type-checking, recode to comply by deedy5 in https://github.com/deedy5/duckduckgo_search/pull/193
* [maps(): raise exception if coordinates are not found](https://github.com/deedy5/duckduckgo_search/commit/cfc13617d3487448cb6f420ac6970b6a6b8f5439)
* [DDGS: make _loop class variable](https://github.com/deedy5/duckduckgo_search/commit/05b82bdf845b9e4ebf660280a6056b907164a8cb)
* [AsyncDDGS: make _executor class variable](https://github.com/deedy5/duckduckgo_search/commit/013636a064461d6639ca5a9ba25b3885021809ae)
* [utils.py: _is_500_in_url() - decorate with lru_cache](https://github.com/deedy5/duckduckgo_search/commit/ebefde6adfaa5d05f71c2efa08b520190b49d504)
* [AsyncDDGS.__init__(): add 'self._parser' for reuse lxml HtmlParser within class instance](https://github.com/deedy5/duckduckgo_search/commit/e4005837f594df848ebd07dade92d4d4793857b2)


**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v5.0...v5.1.0

5.0

What's Changed
1) **[BREAKING CHANGES]** DDGS, AsyncDDGS : all functions are now not generators, but return a list of dictionaries
2) Results return is dramatically sped up by asynchronous requests under the hood, especially for large max_results values
3) DDGS: reuse shared event loop,running in thread
4) AsyncDDGS: add global _SHARED_EXECUTOR for using in run_in_executor
5) maps(): removed MapsResult model, results are saved directly by the dictionary
6) maps(): divide bbox only if distance between coordinates > 1km
7) _extract_vqd(): replace regex pattern with .index
8) text(): simplify xpath patterns in _text_html() and _text_lite()
9) using orjson if installed
10) update CLI and tests to keep up with the changes
12) update dependencies: curl-cffi to 0.6.2, ruff to 0.3.0

**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v4.5.0...v5.0

5.0b1

1) AsyncDDGS, DDGS: remove `max_clients` parameter (unclear behavior).
2) AsyncDDGS, DDGS: add `concurrency` parameter to limit the number of concurrent requests (using asyncio.Semaphore).
3) AsyncDDGS.maps(): add squares into queue only if distance between coordinates > 1km.
4) AsyncDDGS.maps(): bugfix exception when work_bboxes_results element is a dict.
5) _extract_vqd(): replace regex pattern with .index().
6) Update dependencies: curl-cffi to 0.6.2. ruff to 0.3.0.

**Full Changelog**: https://github.com/deedy5/duckduckgo_search/compare/v5.0b...v5.0b1

Page 8 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.