Aioweb migration #1

Merged
TPV merged 5 commits from aioweb-migration into main 2026-07-19 01:26:35 +00:00
Showing only changes of commit 8e077515ff - Show all commits
+4 -1
View File
@@ -15,12 +15,15 @@ from aioweb_tls import CurlCffi, TLSSession
from monitor_utils.constants import CLIENT_IDENTIFIERS, RETRY_LIMIT
def get_default_session() -> TLSSession:
def get_default_session(proxies: AioProxies) -> TLSSession:
"""Return a TLSSession impersonating a random client fingerprint.
Fingerprint rotation lives here so every monitor rotates the same way; the
caller owns the session lifetime via ``async with``.
Args:
proxies: used for rotating proxies inside of send_request
Returns:
A TLSSession over a curl_cffi backend with a random impersonation.
"""