remove some logs
This commit is contained in:
@@ -28,7 +28,7 @@ class SolveCaptcha:
|
|||||||
if len(data_sitekey) == 1:
|
if len(data_sitekey) == 1:
|
||||||
key_with_comma = data_sitekey[0].split("=")[-1]
|
key_with_comma = data_sitekey[0].split("=")[-1]
|
||||||
key = key_with_comma.replace("\"", '')
|
key = key_with_comma.replace("\"", '')
|
||||||
self.logger.info("key is : " + key)
|
# self.logger.info("key is : " + key)
|
||||||
self.solve_captcha(key, handle_solution_received)
|
self.solve_captcha(key, handle_solution_received)
|
||||||
|
|
||||||
def solve_captcha(self, google_key: str, handle_solution_received):
|
def solve_captcha(self, google_key: str, handle_solution_received):
|
||||||
@@ -50,5 +50,5 @@ class SolveCaptcha:
|
|||||||
solution_res = requests.get(url_response)
|
solution_res = requests.get(url_response)
|
||||||
time.sleep(5)
|
time.sleep(5)
|
||||||
solution = solution_res.text
|
solution = solution_res.text
|
||||||
print(solution)
|
self.logger.info(solution)
|
||||||
handle_solution_received(solution.split("|")[-1])
|
handle_solution_received(solution.split("|")[-1])
|
||||||
|
|||||||
Reference in New Issue
Block a user