@@ -77,7 +77,7 @@ import requests
7777from concurrent .futures import ThreadPoolExecutor , as_completed
7878from urllib .parse import quote , urlparse , urlunparse
7979
80- logging .basicConfig (level = logging .DEBUG )
80+ logging .basicConfig (level = logging .ERROR )
8181portaltype = None
8282player_portaltype = None
8383
@@ -4219,6 +4219,7 @@ class MacAttack(QMainWindow):
42194219 f"Error for Portal: <b>503 Rate Limited</b> { selected_proxy } "
42204220 )
42214221 if self .temp_remove_proxy (selected_proxy ): # Temp remove the proxy
4222+ print ("RATELIMITED ALT METHOD" )
42224223 time .sleep (self .remove_for_seconds_spinbox .value ()) #sleep the thread if alt speed enabled
42234224
42244225 elif "ERR_ACCESS_DENIED" in res .text :
@@ -4699,11 +4700,12 @@ class MacAttack(QMainWindow):
46994700 current_text = self .proxy_textbox .toPlainText ()
47004701 # Check if the proxy exists before attempting to remove it
47014702 if proxy in current_text .splitlines ():
4702- # Remove proxy from the list temporarily
4703- new_text = "\n " .join (
4704- line for line in current_text .splitlines () if line .strip () != proxy
4705- )
4706- self .macattack_update_proxy_textbox_signal .emit (new_text )
4703+ if not self .proxy_altspeed_checkbox .isChecked ():
4704+ # Remove proxy from the list temporarily
4705+ new_text = "\n " .join (
4706+ line for line in current_text .splitlines () if line .strip () != proxy
4707+ )
4708+ self .macattack_update_proxy_textbox_signal .emit (new_text )
47074709 # Notify user of temporary removal
47084710 self .update_error_text_signal .emit (
47094711 f"Proxy { proxy } temporarily removed."
0 commit comments