Script to find webmaster contact details
As part of a summer project I am currently undertaking, I am interested in writing a script to automate the retrieval of the contact email address for a particular site's webmaster. Is there any information anyone can direct my way to start me off? Stuff like research papers, source code for similar applications etc. I am currently reading "Introduction to Information Retrieval" by Manning, Raghavan and Schutz, as this work is part of a larger information extraction project, in开发者_JAVA技巧 which I eventually hope to develop a people search system. Oh yes, and I intend to write these systems in Ruby, if that is any further help. Thanks.
Check out Simone Carletti's pure ruby whois client & parser
GitHub project. Here's a usage example:
r = Whois.whois("google.com")
# => #<Whois::Record>
t = r.technical_contact
# => #<Whois::Record::Contact>
t.email
# => "dns-admin@google.com"
精彩评论