I am writing a function by python to get a list of expired domains just like this one, but I can not find any library can do this, any ideas about this?
Asked
Active
Viewed 3,778 times
2 Answers
5
See https://github.com/richardpenman/whois (first Google search result when searching for python whois
). This allows you to determine the expiration date of a domain. But you will need to get a list of domains to check from somewhere (domaintools apparently gets them from domain auctions).

Wladimir Palant
- 56,865
- 12
- 98
- 126
-
The author moved the repo to GitHub: https://github.com/richardpenman/whois – bruno.braga Aug 17 '22 at 09:42
-1
Why should there be a library for this kind of work? You probably have to build up your own database of WHOIS information and your own logic.