Google Blogoscoped

Forum

Shmoogle

Phil Defer [PersonRank 3]

Wednesday, June 1, 2005
17 years ago

Re: http://blogoscoped.com/archive/2005-05-31-n27.html

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

/home/thassine/public_html/ cgi-bin/shmoogle.cgi
   195 result_string=''
   196 if not (result_string=='') and not_blocked (result_string) and not_empty(result_string):
   197 num_results=num_of_results(result_string)
   198 #print num_of_results(result_string)
   199 max_num= find_last_page(result_string)
num_results undefined, num_of_results = <function num_of_results>, result_string = '<HTML><HEAD ><TITLE>302 Moved</TITLE>< /HEAD><BODY...start%3D9 89%26sa%3DN">here</A>.rn</BODY></HTML>rn'

   /home/thassine/public_html/cgi-bin/shmoogle.cgi in num_of_results(res_string='<HTML>< HEAD><TITLE>302 Moved</TITLE></HEAD><BODY... start%3D989%26sa%3DN">here</A>.rn</BODY></ HTML>rn')
   59 num2=''
   60 num2=num2.join(num)
   61 n_num=int(num2)
   62 return n_num
   63 #------------------------------------------ -------------------------------------
n_num undefined, builtin int = <type 'int'>, num2 = '><HEAD><TITLE>302 Moved</TITLE></HEAD><BODY>n<H1...6start%3D 989%26sa%3DN">here </A>.rn</BODY></HTML>r'

ValueError: invalid literal for int(): >
302 Moved
The document has moved
302 Moved
The document has moved

Brian Benzinger [PersonRank 0]

17 years ago #

I have recieved the same error as well. The search engine does look like it would be a nice search utility though!

Daniel Macsyn [PersonRank 0]

17 years ago #

It did the same for me too.

Ades [PersonRank 6]

17 years ago #

+1

Looks like, it couldn't handle the traffic.

mrs q [PersonRank 0]

17 years ago #

same error for me too. Looked promising!

Shmoogle developer (Tsila) [PersonRank 0]

17 years ago #

Hello all,
Thanks for checking Shmoogle. Unfortunately it gets temporarily blocked by Google when it receives too many hits. It unblocks after a couple of hours. I am looking for a solution. Thank you for your patience.

Philipp Lenssen [PersonRank 10]

17 years ago #

Tsila, that happens lately when you directly screen-scrape Google. It won't happen if you use the Google API, which of course has other limits (some of them can be worked around with caching, or asking Google for guidance).

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!