# Scraping

In [ ]:
Copied!

    import httpx

    transport = httpx.AsyncHTTPTransport(retries=2)
    limits = httpx.Limits(max_connections=None)
    timeout = httpx.Timeout(connect=60.0, read=300, write=60, pool=None)
    async with httpx.AsyncClient(
        transport=transport, limits=limits, timeout=timeout
    ) as client:
        pass

import httpx transport = httpx.AsyncHTTPTransport(retries=2) limits = httpx.Limits(max_connections=None) timeout = httpx.Timeout(connect=60.0, read=300, write=60, pool=None) async with httpx.AsyncClient( transport=transport, limits=limits, timeout=timeout ) as client: pass

Last update: July 9, 2022