
    vKgH                         S SK r S SKJr   S SKrS SKJr  S SK	J
r
  S SKJr  \ R                  " \5      r " S S\\\R                   5      r\R"                  rg! \ a  r\" S5      \eSrCff = f)	    N)DesiredCapabilitieszYundetected_chromedriver not found. Install it with `pip install undetected_chromedriver`.)InspectRequestsMixin)urlsafe_address)DriverCommonMixinc                   4   ^  \ rS rSrSrSS.U 4S jjrSrU =r$ )Chrome   zeExtends the undetected_chrome Chrome webdriver to provide additional
methods for inspecting requests.N)seleniumwire_optionsc          	      d  > Uc  0 nU R                  U5      nUR                  SS5      (       aI  UR                  S5      nUc  [        R                  nUR	                  5       nUR                  U5        XSS'    US   n[        R                  S5        [        U R                  R                  5       5      u  pxUR                  SU SU 35        UR                  S	S
R                  UR                  SS/5      5       35        XcS'   [        T	U ]@  " U0 UD6  g! [         a    [        5       n Nf = f)zrInitialise a new Chrome WebDriver instance.

Args:
    seleniumwire_options: The seleniumwire options dictionary.
Nauto_configTdesired_capabilitiesoptionszUsing undetected_chromedriverz--proxy-server=:z--proxy-bypass-list=,exclude_hostsz<-loopback>)_setup_backendgetr   CHROMEcopyupdateKeyErrorChromeOptionsloginfor   backendaddressadd_argumentjoinsuper__init__)
selfr
   argskwargsconfigcapabilitieschrome_optionsaddrport	__class__s
            n/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/seleniumwire/undetected_chromedriver/webdriver.pyr    Chrome.__init__   s6     '#% $$%9:##M488!::&<=L#299',,.L'-9)*	-#I.N 	01 %T\\%9%9%;<
##odV1TF$CD##"388,@,D,D_WdVe,f#g"hi	
 +y$)&)  	-*_N	-s   9D D/.D/ )__name__
__module____qualname____firstlineno____doc__r    __static_attributes____classcell__)r)   s   @r*   r   r      s    ( 48 &* &*    r   )loggingselenium.webdriverr   undetected_chromedriverucImportErroreseleniumwire.inspectr   seleniumwire.utilsr   seleniumwire.webdriverr   	getLoggerr-   r   r   r   r,   r4   r*   <module>r?      sx     2( 6 . 4!**!#4bii **Z   s  
fs   A A,	A''A,