DanielsuUn 1 Posted February 7, 2012 Report Share Posted February 7, 2012 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? From Google: <onmousedown="return rwt(this,'','','','2','AFQjCNG8_Z2KLa8dBHF9zh0sa9gj6bwp5Q','','0CGsQFjAB',null,event)"> At the bot: <onmousedown="return rwt(this,\'\',\'\',\'\',\'*\',\'*\',\'\',\'*\',null,event) + WildcardUse 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 ^^ Quote Link to post Share on other sites
Praney Behl 314 Posted February 7, 2012 Report Share Posted February 7, 2012 You can either do it using Regex or scrape and list. Quote Link to post Share on other sites
Praney Behl 314 Posted February 7, 2012 Report Share Posted February 7, 2012 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 1 Quote Link to post Share on other sites
DanielsuUn 1 Posted February 8, 2012 Author Report Share Posted February 8, 2012 Thx my bot work good ^^If somebody need wisph me.. 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.