how to handle whois data
题
I need to put whois data in a table like
- registrant,
- created date,
- expire date etc.
I've the script which is extracting data from whois servers, but the output is different for each domain extensions.
For example, for .com
domains registrant details comes as a total address and for .org
domains it comes as registrant name,street1,street2,street3 etc.
so i'm not able extract registrant details as a unit to be put in db.
some where i heard if we get as xml data we can able to extract it, can somebody help to get around this? Thanks!.
没有正确的解决方案
不隶属于 StackOverflow