Searching Google?

Johannes Bauer dfnsonfsduifb at
Wed Feb 18 13:36:17 CET 2009

Curt Hash schrieb:

> You just need to change your User-Agent so that Google doesn't know a
> Python script is making the request:

Why would Google not send a response if the User-Agent header field is
not a recognized browser? I doubt that's what's happening and the OP
would just like the convenience of a search API instead of parsing the
web page (like other applications do). Ugly, but it works.


"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verlästerung von Gott, Bibel und mir und bewusster Blasphemie."
         -- Prophet und Visionär Hans Joss aka HJP in de.sci.physik
                         <48d8bf1d$0$7510$5402220f at>

More information about the Python-list mailing list