add created_at field for ReserveResultPojo

This commit is contained in:
2022-12-13 18:10:04 +01:00
parent ba35de8628
commit f9177bace8
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ def read_mails():
if match:
url = match.group(0)
if need_to_valid_url(url, successful_items):
MONGO_STORE_MANAGER.save_links_to_validate(url)
# MONGO_STORE_MANAGER.save_links_to_validate(url)
url_validator = LinkValidator(url)
# print("need to validate url: " + url)
executor.submit(url_validator.start_page, params.get_proxy(ProxyType.OXYLABS), True)
+1
View File
@@ -101,6 +101,7 @@ class ReserveResultPojo:
u'slot_position': self.slot_position,
u'ccid': self.ccid,
u'source_from': self.source_from,
u'created_at': self.created_at,
u'store_type': self.store_type,
u'accepted': self.accepted,
u'url_validated': self.url_validated,
+2 -2
View File
@@ -11,8 +11,8 @@ mailjet = Client(auth=(api_key, api_secret), version='v3.1')
from_email = "panleicim@gmail.com"
store = "Hermès Paris Faubourg"
# store = "Hermès Paris George V"
dest_email = "124652097@qq.com"
contact_name = "WEI junhong"
dest_email = "wangyiwei19920130@gmail.com"
contact_name = "HAN lihuan"
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
email_body = f.read()