Here's my situation. Particularly on my Mac repair website, I get lots of 1-off contact form spam. 1-off meaning its not a bot, it's an actual person. That person is in china, and wants me to buy knock-off Apple parts from them. It's a form so I can easily test the sender's IP and block anyone in China and/or Korea. So I'm wondering if there are any fast/easy/short cut ways to do country-only whois lookups. I have a Maxmind account for another website, but I don't want to pay for my lookups. And a full whois from the terminal will give the country, but thats really slower than what I'd like. Plus it outputs a huge long mess, not the clean and easily machine readable results I'd like.