close the browser when url sent by email

This commit is contained in:
2022-08-03 09:55:26 +02:00
parent 0b203b00ee
commit 42c47e7abe
4 changed files with 7 additions and 5 deletions
+4 -2
View File
@@ -87,6 +87,10 @@ hermes_email = "no-reply@hermes.com"
username = "chenpeijun@aol.com"
password = "ytifuwguknzifqyb"
# #
#
# username = "ciyuexie@aol.com"
# password = "czezlmmyypokdfce"
def clean(text):
@@ -116,8 +120,6 @@ def need_to_valid_url(url: str, successful_items) -> bool:
# check whether the url has already been clicked
if __name__ == '__main__':
mail_reader = MailReader(username, password)
successful_items = MONGO_STORE_MANAGER.get_all_successful_items_for_day()