Skip to content

Releases: deedy5/duckduckgo_search

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,

v3.9.6

18 Nov 10:22
c6e70e1
Compare
Choose a tag to compare
  1. BUGFIX text(): skip resp if resp.status_code==202,
  2. BUGFIX images(): add the "Accept-Language" parameter to the headers.

v3.9.5

10 Nov 21:31
16d56a6
Compare
Choose a tag to compare
  1. BUGFIX in images() function: add "Accept" parameter to requests,
  2. update requirements to use httpx 0.25.1 version (Add support for Python 3.12).

v3.9.4

02 Nov 21:36
01e5d63
Compare
Choose a tag to compare
  1. update USERAGENTS

v3.9.3

08 Oct 17:28
b84983b
Compare
Choose a tag to compare
  1. BUGFIX - fixing the region parameter in the text() function.
  2. BUGFIX - stop redundant requests.