Skip to content

Releases: deedy5/duckduckgo_search

v4.3.1

28 Jan 16:02
Compare
Choose a tag to compare

What's Changed

  • CLI bugfix: add colors to print maps result by @deedy5 in #179

Full Changelog: v4.3...v4.3.1

v4.3

28 Jan 02:17
e31d9f5
Compare
Choose a tag to compare

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

12 Jan 16:45
cb97f81
Compare
Choose a tag to compare
  1. AsyncDDGS performance improved: await resp.acontent(),
  2. _get_vqd improved: using regex pattern to extract vqd from html,
  3. Removed deprecated functions: ddg, ddg_answers, ddg_images, ddg_maps, ddg_news, ddg_suggestions, ddg_translate, ddg_videos,
  4. README: updated async example,
  5. Ruff: added lint rules to pyproject.toml,
  6. CLI: support functions have been changed to private,
  7. Docstrings updated,
  8. Small code improvements.

v4.1.1

24 Dec 17:48
25e7059
Compare
Choose a tag to compare
  1. _get_url(): bugfix exception message,
  2. update README (proxies, bypass curl-cffi NotImplementedError in windows),
  3. update bug_report.md

v4.1.0

13 Dec 16:21
256c0fd
Compare
Choose a tag to compare
  1. random browser in each class instance (headers are set automatically),
  2. CLI: file download debugging (removed chunks, added timeout),
  3. removed sleep between requests,
  4. removed VQDExtractionException,
  5. BUGFIX: AsyncDDGS - used AsyncSession instead of Session,
  6. BUGFIX AsyncDDGS on windows - change asyncio.set_event_loop_policy
  7. logging: improved debug messages.

v4.0.0

12 Dec 14:46
8211fe6
Compare
Choose a tag to compare
  1. migrate from httpx to curl_cffi
  2. CURL: simplified downloads, use ThreadPoolExecutor instead of asyncio
  3. exceptions: simplified, use DuckDuckGoSearchException and VQDExtractionException
  4. github workflow: added windows and macos
  5. tests: removed delays between tests, activated tests for text(backend="lite")
  6. CLI: save_json() - set encoding="utf-8" (bugfix for windows)

v3.9.11

08 Dec 13:35
ddc7162
Compare
Choose a tag to compare
  1. bugfix in images(): httpx.Client(verify=False) to get around an unexpected error in httpx

v3.9.10

07 Dec 18:35
f55675a
Compare
Choose a tag to compare
  1. text(backend="api"): extract json from html,
  2. bugfix text(backend="html"): update Referer in headers,
  3. removed tests for text(backend="lite") - works only with proxies.

v3.9.9

28 Nov 17:33
2deb5bb
Compare
Choose a tag to compare
  1. text(backend="html"/"lite"): removed ad results,
  2. README: added exceptions, removed unnecessary async examples.

v3.9.8

25 Nov 13:20
8349f9d
Compare
Choose a tag to compare
  1. add core exceptions,
  2. remove retries in _get_url(),
  3. raise ApiException if resp.status_code==403,
  4. raise RateLimitException if resp.status_code==202,
  5. sleep(0.75) between API requests if proxies is None,
  6. sort imports, lint and format .py files with Ruff,
  7. pytest: sleep(1) between tests,
  8. add "Accept-Encoding" to HEADERS,