question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Return None when whois Internationalized domain name

See original GitHub issue

Thank you for your awesome package *)

Describe the bug

domain = whois.query('münchen.de')
print(domain.__dict__)

domain = whois.query('ایران.ir')
print(domain.__dict__)

error:

AttributeError                            Traceback (most recent call last)
Input In [9], in <cell line: 1>()
----> 1 domain.__dict__

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
maarten-bootcommented, Oct 19, 2022

yes i see that this is creating a error in the latest release but the latest code already solves this

./test2.py -d 'ایران.ir' -v
ایران.ir
['ایران', 'ir']
['xn--mgba3a4f16a', 'ir']
                name	"ایران.ir"
                 tld	"ir"
           registrar	"nic.ir"
  registrant_country	""
       creation_date	"None"
     expiration_date	"None"
        last_updated	"None"
              status	""
            statuses	"['']"
              dnssec	"False"
        name_servers	"[]"

I guess we have to wait for the latest code to be released into a pip package, meanwhile you could clone the code and us it directly

0reactions
DannyCorkcommented, Nov 16, 2022

0.9.18 released

Read more comments on GitHub >

github_iconTop Results From Across the Web

Internationalized domain name - Wikipedia
An internationalized domain name (IDN) is an Internet domain name that contains at least one label displayed in software applications, in whole or...
Read more >
pythonwhois returns none value for contact information for ...
I used get_whois(domain) function of pythonwhois 2.4. 3 for retrieving whois information for domains. But when I enter domains with specific ...
Read more >
Internationalized Domain Names (IDN) FAQ - Unicode
Q: Do IDNs change the Domain Name System (DNS)?. No. Internally, the non-ASCII Unicode characters are transformed into a special sequence of ASCII ......
Read more >
RFC 3490: Internationalizing Domain Names in Applications ...
This document defines internationalized domain names (IDNs) and a mechanism called Internationalizing Domain Names in Applications (IDNA) for handling them ...
Read more >
What are Internationalized Domain Names (IDNs)? - GoDaddy
Internationalized Domain Names (IDNs) are foreign language domain names that include non-ASCII characters. You can register an IDN using the native language ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found