mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
fix: [Mails] remove print + test
This commit is contained in:
parent
0a525f369e
commit
4d318643ce
1 changed files with 1 additions and 11 deletions
12
bin/Mail.py
12
bin/Mail.py
|
@ -137,8 +137,7 @@ if __name__ == "__main__":
|
|||
email_regex = "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}"
|
||||
|
||||
while True:
|
||||
#message = p.get_from_set()
|
||||
message = 'archive/pastebin.com_pro/2020/02/07/Fnz1wUim.gz 3'
|
||||
message = p.get_from_set()
|
||||
|
||||
if message is not None:
|
||||
item_id, score = message.split()
|
||||
|
@ -174,11 +173,7 @@ if __name__ == "__main__":
|
|||
|
||||
## TODO: add MAIL trackers
|
||||
|
||||
print(all_emails)
|
||||
print()
|
||||
|
||||
valid_mx = check_mx_record(set_mxdomains, dns_server)
|
||||
print(valid_mx)
|
||||
|
||||
num_valid_email = 0
|
||||
for domain_mx in valid_mx:
|
||||
|
@ -210,10 +205,5 @@ if __name__ == "__main__":
|
|||
else:
|
||||
publisher.info(msg)
|
||||
|
||||
time.sleep(30)
|
||||
|
||||
|
||||
|
||||
|
||||
else:
|
||||
time.sleep(10)
|
||||
|
|
Loading…
Reference in a new issue