pogzyb / asyncwhois

Python WHOIS and RDAP utility for querying and parsing information about Domains, IPv4s, IPv6s, and AS numbers
MIT License
63 stars 18 forks source link

Fix whois server lookup #68

Closed pogzyb closed 1 year ago

pogzyb commented 1 year ago

Fixes issues related to #67 where the authoritative whois server is not valid and causes query errors. If a whois server does not seem valid (it may be formatted as an URL like https://www.nic.ru/whois) then ignore it.

codecov[bot] commented 1 year ago

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (0be676e) 85.84% compared to head (1fe6e6b) 85.83%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #68 +/- ## ========================================== - Coverage 85.84% 85.83% -0.01% ========================================== Files 8 8 Lines 2960 2959 -1 ========================================== - Hits 2541 2540 -1 Misses 419 419 ``` | [Files](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe) | Coverage Δ | | |---|---|---| | [asyncwhois/servers.py](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe#diff-YXN5bmN3aG9pcy9zZXJ2ZXJzLnB5) | `99.74% <100.00%> (ø)` | | | [asyncwhois/parse\_tld.py](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe#diff-YXN5bmN3aG9pcy9wYXJzZV90bGQucHk=) | `76.54% <0.00%> (-0.04%)` | :arrow_down: | | [asyncwhois/query.py](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe#diff-YXN5bmN3aG9pcy9xdWVyeS5weQ==) | `78.43% <66.66%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.