From fd1af1778c473b07a35803f0f429a92e9a962b6d Mon Sep 17 00:00:00 2001 From: PAN Lei Date: Sat, 13 Aug 2022 15:51:42 +0200 Subject: [PATCH] show email address in the logs --- src/mail/mail_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail/mail_reader.py b/src/mail/mail_reader.py index 4809e26..5e47d88 100644 --- a/src/mail/mail_reader.py +++ b/src/mail/mail_reader.py @@ -165,7 +165,7 @@ def read_mails(): print("need to validate url: " + url) executor.submit(url_validator.start_page, params.get_proxy(ProxyType.BRIGHT_DATA), True) else: - print("do not need to click url --> {}".format(mail)) + print("do not need to click url --> {}".format(mail.mail_address)) # check whether the url has already been clicked