Saturday, February 4, 2012

The Pitfalls of Writing a Clickbot

One way to up your image's pagerank (and win Rankmaniac 2012) is to get your link clicked on a lot.  Therefore, it would make sense to write a clickbot that automatically searches for your link and clicks on it.  I had several ideas for writing a click bot.

First, I wanted to write a python script that fetches images.google.com, looks for the input field, performs an image search and then clicks on our image.  This is the simplest way to write a click bot and win Rankmaniac 2012.  There are some downsides.  First, Google randomizes the id, name, etc... of their input field and of their other elements on the image search page.  However, I could probably just search the page for the input field with the correct attributes and perform the search with that element.  Another downside is that google does a pretty good job about detecting click fraud.  Here's a study that Google did about it (http://www.usenix.org/event/hotbots07/tech/full_papers/daswani/daswani.pdf).

Rankmaniac 2012 clickbot
My new idea is to use some sort of Custom Search API to write a bunch of search queries in javascript, put the pages on line and run them through proxies to simulate a lot of diverse traffic.  However, Google doesn't really have a good search API and this would be difficult.  Also, they'd still probably be able to detect the click fraud.  My search continues...

1 comment: