2

I know there is pywhois but it can't used in gae, see this question. But i really need this function to verify whether a domain is registered, is there other way to implement whois by pure python? Thanks.

Community
  • 1
  • 1
huangli
  • 454
  • 9
  • 26

1 Answers1

4

You need to find a HTTP Api to get whois like http://www.whoisxmlapi.com/ and with urlfetch you can fetch informations.

An another solution is to create this webservice with a micro instance from AWS and install the module pywhois, you need to just create the interface in HTTP.

sahid
  • 2,570
  • 19
  • 25