|
|
@ -291,7 +291,7 @@ def logger_input(prompt, timeout=60):
|
|
|
|
else: raise SystemError("Input Timeout not supported on this system")
|
|
|
|
else: raise SystemError("Input Timeout not supported on this system")
|
|
|
|
|
|
|
|
|
|
|
|
def header(language="en-US,en;q=0.5"):
|
|
|
|
def header(language="en-US,en;q=0.5"):
|
|
|
|
return {"Accept-Language": "eng" if language == "default" else language, "User-Agent": "Mozilla/5.0 Firefox/102.0"}
|
|
|
|
return {"Accept-Language": "eng" if language == "default" else language, "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0"}
|
|
|
|
|
|
|
|
|
|
|
|
def alarm_handler(signum, frame):
|
|
|
|
def alarm_handler(signum, frame):
|
|
|
|
raise TimeoutExpired
|
|
|
|
raise TimeoutExpired
|
|
|
|