mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-08 06:00:51 -07:00
Fix whois lookup failing in some instances
This commit is contained in:
parent
0902a61341
commit
9ad95f51d4
1 changed files with 2 additions and 1 deletions
|
@ -617,7 +617,8 @@ def whois_lookup(ip_address):
|
|||
nets = []
|
||||
err = None
|
||||
try:
|
||||
whois = ipwhois.IPWhois(ip_address).lookup_whois(retry_count=0)
|
||||
whois = ipwhois.IPWhois(ip_address).lookup_whois(retry_count=0,
|
||||
asn_methods=['dns', 'whois', 'http'])
|
||||
countries = ipwhois.utils.get_countries()
|
||||
nets = whois['nets']
|
||||
for net in nets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue