Releases: deedy5/duckduckgo_search
Releases · deedy5/duckduckgo_search
v4.3.1
v4.3
What's Changed
- DDGS - remove code, wrap AsyncDDGS by @deedy5 in #167
- curl-cffi impersonate - always using the latest chrome browser version by @deedy5 in #176
- Remove async tests (it's enough to test DDGS, because it's inherited from AsyncDDGS) by @deedy5 in #177
- update MapsResult fields by @deedy5 in #178
Full Changelog: v4.2...v4.3
v4.2
- AsyncDDGS performance improved: await resp.acontent(),
- _get_vqd improved: using regex pattern to extract vqd from html,
- Removed deprecated functions: ddg, ddg_answers, ddg_images, ddg_maps, ddg_news, ddg_suggestions, ddg_translate, ddg_videos,
- README: updated async example,
- Ruff: added lint rules to pyproject.toml,
- CLI: support functions have been changed to private,
- Docstrings updated,
- Small code improvements.
v4.1.1
v4.1.0
- random browser in each class instance (headers are set automatically),
- CLI: file download debugging (removed chunks, added timeout),
- removed sleep between requests,
- removed VQDExtractionException,
- BUGFIX: AsyncDDGS - used AsyncSession instead of Session,
- BUGFIX AsyncDDGS on windows - change asyncio.set_event_loop_policy
- logging: improved debug messages.
v4.0.0
- migrate from httpx to curl_cffi
- CURL: simplified downloads, use ThreadPoolExecutor instead of asyncio
- exceptions: simplified, use DuckDuckGoSearchException and VQDExtractionException
- github workflow: added windows and macos
- tests: removed delays between tests, activated tests for text(backend="lite")
- CLI: save_json() - set encoding="utf-8" (bugfix for windows)
v3.9.11
v3.9.10
v3.9.9
v3.9.8
- add core exceptions,
- remove retries in _get_url(),
- raise ApiException if resp.status_code==403,
- raise RateLimitException if resp.status_code==202,
- sleep(0.75) between API requests if proxies is None,
- sort imports, lint and format .py files with Ruff,
- pytest: sleep(1) between tests,
- add "Accept-Encoding" to HEADERS,