Pressing A Webpage Button

Paul Rubin http
Wed Jun 1 22:26:14 EDT 2005


Grant Edwards <grante at visi.com> writes:
> > I presume you can figure out how to open the URL instead of
> > printing it?
> 
> Ah, never mind.  That doesn't work.  Google somehow detects
> you're not sending the query from a browser and bonks you.

Try setting the User-agent: header to one that looks like a browser.



More information about the Python-list mailing list