NoahCardoza / CaptchaHarvester

Solve captchas yourself without having to pay for services like 2captcha for use in automated projects.

Home Page:https://pypi.org/project/captcha-harvester/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on Linux

FuckingToasters opened this issue · comments

Traceback (most recent call last):                                                                                                                                                                  
  File "/root/tools/pythonscripts/main.py", line 1206, in run_normal                                                                                             
    run_token(token, token_raw, headers_tls, token_proxy)                                                                                                                                           
  File "/root/tools/pythonscripts/main.py", line 1135, in run_token                                                                                              
    join_data = join_captcha(response, token, server_task, total_servers, invite, token_proxy, current_ua, headers_tls, thread_id=thread_id)                                                        
  File "/root/tools/pythonscripts/main.py", line 910, in join_captcha                                                                                            
    captcha_key = captcha.get_captcha_key(current_ua, sitekey, rqdata, token_proxy)                                                                                                                 
  File "/root/tools/pythonscripts/captcha.py", line 443, in get_captcha_key                                                                                         
    from harvester import Harvester                                                                                                                                                                 
  File "/usr/local/lib/python3.9/dist-packages/harvester/__init__.py", line 1, in <module>                                                                                                          
    from harvester import browser, fetch, server                                                                                                                                                    
  File "/usr/local/lib/python3.9/dist-packages/harvester/server/__init__.py", line 54, in <module>                                                                                                  
    class MITMRecord:                                                                                                                                                                               
  File "/usr/lib/python3.9/dataclasses.py", line 1021, in dataclass                                                                                                                                 
    return wrap(cls)                                                                                                                                                                                
  File "/usr/lib/python3.9/dataclasses.py", line 1013, in wrap                                                                                                                                      
    return _process_class(cls, init, repr, eq, order, unsafe_hash, frozen)                                                                                                                          
  File "/usr/lib/python3.9/dataclasses.py", line 927, in _process_class                                                                                                                             
    _init_fn(flds,                                                                                                                                                                                  
  File "/usr/lib/python3.9/dataclasses.py", line 531, in _init_fn                                                                                                                                   
    return _create_fn('__init__',                                                                                                                                                                   
  File "/usr/lib/python3.9/dataclasses.py", line 400, in _create_fn                                                                                                                                 
    exec(txt, globals, ns)                                                                                                                                                                          
  File "/root/tools/pythonscripts/main.py", line 538, in lg                                                                                                      
    raise SystemExit                                                                                                                                                                                
SystemExit  

Does the example by itself work for you? It looks like this error is coming from a library file but the file traceback section looks like you raised SystemExit in your own code.