
    hg                     J    d dl Z d dlZd dlmZ  e j        e          ZddZdS )    N)	MitmProxy	127.0.0.1c                 *   |i }t          | ||          }t          j        d|j                  }|                    d           |_        |                                 |                                ^} }}t          	                    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.
    Nz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         M/var/www/fb-scrape/myenv/lib/python3.11/site-packages/seleniumwire/backend.pycreater   	   s     dG,,G:7CXYYYA;;|,,,AHGGIII__&&ND$HH/t<<<N    )r   r   N)loggingr	   seleniumwire.serverr   	getLogger__name__r   r    r   r   <module>r       s\         ) ) ) ) ) )g!!     r   