We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8bd9ab commit 7e1bfc1Copy full SHA for 7e1bfc1
datagather_modules/crawl_processor.py
@@ -25,13 +25,22 @@ def whois_gather(short_domain):
25
try:
26
logging.info('WHOIS INFO GATHERING: OK')
27
w = whois.whois(short_domain)
28
+ print(w)
29
if w.org is None:
30
w['org'] = 'n/a'
31
32
return w
33
except Exception as e:
34
print(Fore.RED + "Error while gathering WHOIS information. See journal for details")
35
logging.error(f'WHOIS GATHERING: ERROR. REASON: {e}')
36
+ w = {
37
+ 'registrar': 'N/A',
38
+ 'creation_date': 'N/A',
39
+ 'expiration_date': 'N/A',
40
+ 'name_servers': ['N/A'],
41
+ 'org': 'N/A'
42
+ }
43
+ return w
44
pass
45
46
def contact_mail_gather(url):
0 commit comments