Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work. #1

Closed
gewone opened this issue Oct 6, 2011 · 1 comment
Closed

Doesn't work. #1

gewone opened this issue Oct 6, 2011 · 1 comment

Comments

@gewone
Copy link

gewone commented Oct 6, 2011

Hi!

I get...
@bot [GOOGLE] No results
...when I'm doing a (any) search! :(

Any ideas how to set the script up properly?

@samupl
Copy link
Owner

samupl commented Oct 6, 2011

Hi,

I had two more persons complaining that this script is not working for them. I think there are two possible things that might be causing it, but both are on google side:

  • You (your bot, its UA or its IP) has been banned from google, it's serving a special page for it and my script can't parse it
  • You (your bot) are from a foreign country. The script has been written for polish google - for some countries the google script works, for some they don't. I would have to make a dedicated version for every country in which the site html code differs from the polish one.

If you could please go to your google search results (google custom, not google.com, take the url from the script) and send me a pastebin link with the html code, I will try to make a separate regexp for you as soon as I will find some spare time.

Or actually, I could completelly screw regexp and do it in a normal way.

@samupl samupl closed this as completed Jun 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants