-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue with whois lookups on only local IPs (#506)
* Fixed issue with whois lookups on only local IPs * Added more whois resilience * Fixed issue with result formatting * Added handling of invalid IP passed * A few fixes for ip_utils.py whois functions. Adding fixes for two broken html links in docs. * Factored out rdap lookup section of of _whois_lookup * Addressing a mypy warning. I tidied up the ipwhois_result to use a named tuple so that it's a bit clearer what is going on and to provide stronger type hints Co-authored-by: Ian Hellen <[email protected]>
- Loading branch information
Showing
3 changed files
with
125 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters