Jump to content
UBot Underground

[Solved]Need help on my Googel ranking bot ( Fail ;D )


Recommended Posts

Hi hO Uboter´s

 

Would simply filter out the google ranking of the innerText.

in which case position Big 2,

where I can now filter out? :blink:

 

From Google: <onmousedown="return rwt(this,'','','','2','AFQjCNG8_Z2KLa8dBHF9zh0sa9gj6bwp5Q','','0CGsQFjAB',null,event)">

 

At the bot: <onmousedown="return rwt(this,\'\',\'\',\'\',\'*\',\'*\',\'\',\'*\',null,event) + Wildcard

Use the: innertext

 

My Bot:


clear list(%toponlinespiele)
ui block text("Keyworts:", #keys)
navigate("http://www.google.de", "Wait")
type text(<name="q">, #keys, "Standard")
click(<name="btnK">, "Left Click", "No")
set(#Click, 2, "Global")
set(#Seiten, 1, "Global")
increment(#Seiten)
loop(100) {
   wait(3)
   if($exists(<innertext=w"top-online-spiele.de*">)) {
       wait(3)
       then {
           add item to list(%toponlinespiele, $scrape attribute(<onmousedown="return rwt(this,\'\',\'\',\'\',\'*\',\'*\',\'\',\'*\',null,event)">, "innertext"), "Don\'t Delete", "Global")
           wait(2)
           save to file("C:\\Users\\Daniel Sun\\Desktop\\Keyword.txt", %toponlinespiele)
           wait(3)
           decrement(#Seiten)
           save to file("C:\\Users\\Daniel Sun\\Desktop\\firstsite.txt", #Seiten)
           stop script
       }
       else {
           wait(2)
           click(<innertext="{#Click}">, "Left Click", "No")
           wait(2)
           increment(#Click)
           increment(#Seiten)
           wait(2)
           save to file("C:\\Users\\Daniel Sun\\Desktop\\nextsites.txt", #Seiten)
           wait(2)
       }
   }
}

 

Some Test´s ;D

 


type text(<name="comment">, $table total rows(&ranking12), "Standard")
set(#row6, $table cell(&ranking12, 6, 1), "Global")
ui stat monitor("Position", #ranking)
create table from file("C:\\Users\\Daniel Sun\\Desktop\\affe.csv", &ranking12)
add item to list(%ranking, #ranking, "Delete", "Global")
save to file("C:\\Users\\Daniel Sun\\Desktop\\affe.csv", %ranking)
set(#ranking, $list from text(&ranking, ",\'"), "Global")
create table from file("C:\\Users\\Daniel Sun\\Desktop\\dassssdasssdas.csv", &ranking)

 

And i have a Pro version ^^

Link to post
Share on other sites

Ok here you go,

 

This one uses list;

Just navigate to google with your keyword, and change the domain you are searching for in the #domain variable and it would popup the position for you.

 

set(#domain, "fishingtackleshop.com.au", "Global")
set(#raw, $replace($scrape attribute(<outerhtml=w"<a href=\"*{#domain}*\" class=\"l\"*</a>">, "onmousedown"), "return rwt(this,\'\',\'\',\'\',", $nothing), "Global")
clear list(%pos)
add list to list(%pos, $list from text(#raw, ","), "Delete", "Global")
set(#position, $replace($list item(%pos, 0), "\'", $nothing), "Global")
clear list(%pos)
alert(#position)

 

Hope it helps :)

 

Praney

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...