2 curl http://ipinfo.io/$1
5 # disable due to captcha
7 #curl -L -A "Mozilla/5.0" -s "http://www.geody.com/geoip.php?ip=$1" | sed '/^IP:/!d;s/<[^>][^>]*>//g'
10 wget -qO - http://freegeoip.net/xml/$1 | sed '3,12!d;s/<//g;s/>/: /g;s/\/.*//g'
13 wget -qO - http://www.geoiptool.com/en/?IP=$1 | pup 'div.sidebar-data' | grep -v '<img' | html2text
15 echo == ip2location ==
16 curl -sSL http://ip2location.com/$1 | sed -n '/tbody/,/\/tbody/p' | sed -e 's@<tbody@<table border=1@' | w3m -T text/html -dump