[Pygoogle-discuss] Installation questions
Brought to you by:
bluecoat93
From: Mitchell H. <mh8...@gm...> - 2007-07-17 09:10:09
|
Hello, I am brand new to PyGoogle and Python in general. I am trying to write a spider to retrieve the number of results from a simple search engine query (have the search engine search for all the terms in a column of an Excel spreadsheet and then return the number of results for each term). I tried looking on http://www.google.com/apis/ to find googlekey.txt, but couldn't find it. Does anyone know where it is? Second, to install PyGoogle, I ran Setup.py from IDLE in my Python25 drive. Then I opened another IDLE window and typed 'import google' and I got error saying the google module could not be found. So I manually copied the four py files in PyGoogle (Google.py, GoogleSoapFacade.py, Googletest.py, and SOAP.py) into my Python 25. Now, after running SOAP.py, I am able to do 'import google' without an error. Did I successfully install PyGoogle? Is this the right way to install PyGoogle or will I experience problems later? Third, is PyGoogle necessary to simply scrape the number of results? Will simpler tools like UrlLib2 and UrlLib2 work for, or will Google resist/block them? Thank you, Mitch Hoffman |