Ok, so I have a curl/awk one-liner that can get me my ip in shell scripts that uses checkip.dyndns.org. It's super simple because the results are super simple from checkip. Anyone want to take a stab at this for google's result page?
One way: wget -Ufoo -qO- 'http://www.google.com/search?q=ip' | sed -n '/.*Your public IP address is [^0-9]*\([0-9.]*\).*/{s//\1/p;q;}'
Google now tells you your IP when you ask it in search
71–80 of 97 posts
Re: Google now tells you your IP when you ask it in search
#72This is something that's been going on for a while - Google killing small web apps; Convertors, calculators, movie listings, ip finders, weather stats, stocks. It's not all low-hanging fruit. I'm not saying they shouldn't be doing this, nor that it's intentional. Their goal is to be the best search engine which means connecting searchers with answers as quickly as they can. But even so, it sucks for the web apps who…
Re: Google now tells you your IP when you ask it in search
#73Now just need something of the form: 1262307721 to date, that and ip are my 2 main lazy uses of Google.
Re: Google now tells you your IP when you ask it in search
#74Up next: What ports do I have open?
Re: Google now tells you your IP when you ask it in search
#75Earlier quoted context omitted.
I always hated how weather sites could not just detect my approximate location based off of ip (eg weather.com) and required me to enter in my zip code, google fixed that.
http://www.wunderground.com/ has worked by geoip for a while now.
Re: Google now tells you your IP when you ask it in search
#76Earlier quoted context omitted.
This is why I mentioned that it's not all low hanging fruit. Movie listings? Requires feed integration, handling a lot of data, non-trivial presentation. Same with weather. Getting a good weather app is not 10 seconds of coding. Some, like ip address, are simple things, but even so whatismyip.com built a huge range of products around that one simple service.
I always hated how weather sites could not just detect my approximate location based off of ip (eg weather.com) and required me to enter in my zip code, google fixed that.
Re: Google now tells you your IP when you ask it in search
#77ShieldsUP! - a free service from Gibson Research Corporation - will tell you your IP address and a whole lot more: https://www.grc.com/x/ne.dll?bh0bkyd2
Re: Google now tells you your IP when you ask it in search
#78Re: Google now tells you your IP when you ask it in search
#79Earlier quoted context omitted.
One way: wget -Ufoo -qO- 'http://www.google.com/search?q=ip' | sed -n '/.*Your public IP address is [^0-9]*\([0-9.]*\).*/{s//\1/p;q;}'
Google really doesn't it like it when you script their search. Better to use one of the many, many services designed for this purpose. Or set one up yourself in roughly one line of code.
Re: Google now tells you your IP when you ask it in search
#80Remember, if the answer is delivered with HTTP, the reported IP may be the IP of your ISP's transparent proxy server. If you want the IP of your NAT box, you need a what-is-my-IP where the response is delivered over HTTPS.
-molo