1) bugfix in images(): httpx.Client(verify=False) to get around an unexpected error in httpx
3.9.10
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.
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, 9) add "Accept-Encoding" to HEADERS,
3.9.6
1) BUGFIX text(): skip resp if resp.status_code==202, 2) BUGFIX images(): add the "Accept-Language" parameter to the headers.
3.9.5
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).