support data impulse

This commit is contained in:
2024-05-10 17:40:33 +02:00
parent 20e6c0b5e0
commit 8f432e0859
5 changed files with 49 additions and 16 deletions
+4
View File
@@ -36,6 +36,10 @@ class Sender:
result = ReserveResultPojo(type=status, phone=contact.phone, message=status.value, url=url,
firstName=contact.first_name, lastName=contact.last_name, email=contact.mail,
passport=contact.passport, ccid=contact.ccid)
if "oxylabs" in self.proxy_to_use["http"]:
result.proxy = "oxylabs"
else:
result.proxy = "data_impulse"
result.id = id
result.store_type = store_type
result.created_at = time.strftime("%H:%M:%S", time.localtime())