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