Skip to content

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 28 Jun 11:35
· 60 commits to main since this release

Fixed

  • ScraperEngine.close() now closes the curl_cffi impersonation transport.
    Previously requests.Session.close() only disposed the standard urllib3
    adapters, leaking the curl_cffi session (libcurl handle + connection pool)
    when impersonation was enabled, causing per-job scrapers to accumulate native
    handles.
  • Re-mounting TLS adapter to repalce the existing https:// adapter in
    self.adapters. Close the old one first so its urllib3 PoolManager
    (open sockets) and SSLContext are released now; cipher rotation
    re-mounts almost every request, so relying on cyclic GC lets these native
    handles accumulate.