You're replying to a comment by yoyo.

May 20, 2010, 23:14

Hey, Pete. I keep running into problems and am having trouble figuring out what's gone wrong.

Here's my sample code...

$ from import GoogleSearch
$ gs = GoogleSearch('oh yes')
$ gs.get_results()

At this point, I get an empty list back from, from this code section...

if not self.results_info:
	self.results_info = search_info
	if self.num_results == 0:
		self.eor = True
		return []

Can you help a brother out here, please?

The odd part is that sometimes, I get results and sometimes I don't. ...almost like Google is just flat out denying me. However, I would think that I would get an HTTP error, and I am not.

Any help is much appreciated!

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "halflife3_139": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.