rogeradvanta 0 Posted March 11, 2014 Report Share Posted March 11, 2014 Hello, this is my first post.I have a ubot which checks google rankings which works lovely for co.uk. and we have been using it for a couple of years with no problems.I recently signed up a client who wants to check rank in google.com and although we added that feature when we had it written, it doesn't actually work so I need an experienced uboter to debug it for me please.Please can you contact me if you are interested in this work and I can provide further details.ThanksRoger Quote Link to post Share on other sites
UBotBuddy 331 Posted March 11, 2014 Report Share Posted March 11, 2014 PM sent Quote Link to post Share on other sites
kev123 132 Posted March 11, 2014 Report Share Posted March 11, 2014 using us proxy? Quote Link to post Share on other sites
keyuramins 1 Posted March 11, 2014 Report Share Posted March 11, 2014 I just made something alike today and tested it. But still trying to make it better. Although the code is below. set user agent("Safari")clear list(%googleresults)ui text box("Keyword", #keyword)ui text box("URL to search", #urltosearch)ui stat monitor("Total URLs fetched", $divide($list total(%googleresults), 2))ui text box("No. of pages to check", #noofpagestocheck)set(#pagestochkfinal, $add(#noofpagestocheck, 1), "Global")navigate("https://www.google.com/", "Wait")type text(<name="q">, #keyword, "Standard")click(<name="btnG">, "Left Click", "No")wait for browser event("Everything Loaded", "")set(#pagescheck, #pagestochkfinal, "Global")set(#serpposition, 0, "Global")set(#rankingstatus, "Unknown", "Global")loop while($comparison(#pagescheck, "!=", 0)) { add list to list(%googleresults, $scrape attribute(<onmousedown=w"return *">, "href"), "Delete", "Global") click(<id="pnnext">, "Left Click", "No") wait for browser event("Everything Loaded", "") wait(2) decrement(#pagescheck)}loop($list total(%googleresults)) { if($contains($list item(%googleresults, #serpposition), #urltosearch)) { then { set(#procheck, $divide(#serpposition, 2), "Global") set(#finalserpposition, $add(#procheck, 1), "Global") alert("Your Serp Position Is {#finalserpposition}") stop script } else { increment(#serpposition) } }}alert("No Results Found") I am using Standard Version and hence only I can get is the code. Use it the way you want to make it better or anyone could advice to make it better. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.