Advertisement

Winsock HTTP talking to Google

Started by February 07, 2005 08:39 PM
4 comments, last by GameDev.net 20 years ago
I'm messing around with Winsock and HTTP and I was trying to connect to Google to do a search. Google seems to not like me, and I cannot get any data from them at all. I can search using Yahoo, which is nice. Any ideas on why a simple GET www.google.com/search?q=frown doesn't work here? Thanks!
It works for my minibrowser test. Are you implementing redirects?
Esp. the google home page www.google.com is giving me two redirects before returning the true content.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

Advertisement
google blocks 'em. Try to fake being a mozilla or IE client.
Go to the link provided by the AP. The web service is really easy to use. I got my C++ app up and running with it in about 20 minutes. If you have any questions about how to use it, PM me.

This topic is closed to new replies.

Advertisement