[Pygoogle-discuss] PyGoogle and PROXY server authentication
Brought to you by:
bluecoat93
From: Devine T. <Tho...@ly...> - 2005-02-07 17:16:07
|
Below is a simple Python program that used PyGoogle:- =20 1:import google 2:google.setLicense('/+iZkK1QFHIAXOxH1Owobs3BcArTHwIv') #=20 3:google.setProxy('fwa:8080')=20 4:data =3D google.doGoogleSearch('python') 5:print data.meta.searchTime 6:print data.results[0].URL 7:print data.results[0].title Line 3 sets the proxy server. However, the proxy servers in my network = REQUIRE user authentication with a valid username and password.=20 =20 Is there anyway I can use PyGoogle and authenticate??? regards thomas devine |