close the browser when url sent by email
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user