
    Dg                     L    d dl Z d dlZd dlmZ  e j                  e      ZddZy)    N)	MitmProxyc                    |i }t        | ||      }t        j                  d|j                        }|j	                  d       |_        |j                          |j                         ^} }}t        j                  d| |       |S )ag  Create a new proxy backend.

    Args:
        addr: The address the proxy server will listen on. Default 127.0.0.1.
        port: The port the proxy server will listen on. Default 0 - which means
            use the first available port.
        options: Additional options to configure the proxy.

    Returns:
        An instance of the proxy backend.
    zSelenium Wire Proxy Server)nametarget
standalonez Created proxy listening on %s:%s)
r   	threadingThreadserve_forevergetdaemonstartaddressloginfo)addrportoptionsbackendt_s         T/var/www/highfloat_scraper/venv/lib/python3.12/site-packages/seleniumwire/backend.pycreater   	   sy     dG,G:7CXCXYA;;|,,AHGGI__&ND$HH/t<N    )z	127.0.0.1r   N)loggingr   seleniumwire.serverr   	getLogger__name__r   r    r   r   <module>r      s%      )g!r   