1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Google SERP clickbot help

Discussion in 'Visual Basic 6' started by MaximumReach, Feb 14, 2016.

  1. MaximumReach

    MaximumReach Newbie

    Joined:
    Feb 14, 2016
    Messages:
    1
    Likes Received:
    0
    Hey guys,
    I want to code my own Bot, which searchs for a keyword, scans the result pages and clicks on my page, when it finds it, as this is a ranking factor, right? Sorry I am quite new to seo.

    I already coded a browser in Visual Basic which changes the User Agent and the proxy, goes to a site, waits some seconds and then loops.

    Can you give me some input or help how I can scan the page I am loading and fake a click automatically on a specific link or coordinates?

    Thank you in advance
     
  2. web2.0rishi

    web2.0rishi Newbie

    Joined:
    Sep 12, 2016
    Messages:
    11
    Likes Received:
    1
    Gender:
    Male
    Occupation:
    Freelance Web/App Dev
    Location:
    Palo Alto, CA
    Honestly I haven't used VB6 or VB.NET in decades lol.
    I made the switch to .NET c# because of the extensive library it comes with.
    Additionaly there are a lot of third party wrappers you can easily install into your bot/program to make browser work very easy.

    As far as I know, most search engines and websites are "smarter" these days and can figure out whether you're using an automator or not.
    It's sometimes not as simple as modifying the user agent and proxy, but regardless, modifying headers can work 80% of the time.

    But maybe something like:

    Code:
    private void webBrowserLoaded(object sender, GeckoDocumentCompletedEventArgs e)
            {
                   foreach (var singleSearchItem in webBrowser.Document.GetElementsByTagName("div")) 
                   {
                          singleSearchItem.Click();
                    }
             }
    }
    It all really depends on which library you're using etc.
    But using the WebBrowserLoaded listener you can manipulate your code accordingly.