fix: [Mails] remove print + test

pull/497/head
Terrtia 2020-05-11 11:15:12 +02:00
parent 0a525f369e
commit 4d318643ce
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 11 deletions

View File

@ -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)