add mail_manager.py
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
from src.mail.mail_reader import read_mails
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
read_mails()
|
||||||
@@ -111,8 +111,7 @@ def need_to_valid_url(url: str, successful_items) -> bool:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
# check whether the url has already been clicked
|
def read_mails():
|
||||||
if __name__ == '__main__':
|
|
||||||
mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq")
|
mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq")
|
||||||
mail_address2 = MailAddress(mail="chenpeijun@aol.com", password="ytifuwguknzifqyb")
|
mail_address2 = MailAddress(mail="chenpeijun@aol.com", password="ytifuwguknzifqyb")
|
||||||
mail_address3 = MailAddress(mail="ciyuexie@aol.com", password="czezlmmyypokdfce")
|
mail_address3 = MailAddress(mail="ciyuexie@aol.com", password="czezlmmyypokdfce")
|
||||||
@@ -135,3 +134,8 @@ if __name__ == '__main__':
|
|||||||
executor.submit(url_validator.start_page, params.get_proxy(ProxyType.BRIGHT_DATA), True)
|
executor.submit(url_validator.start_page, params.get_proxy(ProxyType.BRIGHT_DATA), True)
|
||||||
else:
|
else:
|
||||||
print("do not need to click url --> {}".format(mail))
|
print("do not need to click url --> {}".format(mail))
|
||||||
|
|
||||||
|
|
||||||
|
# check whether the url has already been clicked
|
||||||
|
if __name__ == '__main__':
|
||||||
|
read_mails()
|
||||||
|
|||||||
Reference in New Issue
Block a user