gavner25 1 Posted June 14, 2019 Report Share Posted June 14, 2019 I have a blog here, and i want ubot to be able to click on the latest blog on the page each time its created. On the right side you can see 3 blogs. How can i configure ubot to always choose the latest one at the top of the list? see blog page herehttps://speedcarsairports.blogspot.com/ Can i do a search for the title of the blog (which i have in a text file) and select the title based off that? or is there another way to do it? Quote Link to post Share on other sites
hare ram 23 Posted June 14, 2019 Report Share Posted June 14, 2019 you can click by which you have select the title based. "x://span[contains(text(),\"your text here?\")]" Quote Link to post Share on other sites
gavner25 1 Posted June 14, 2019 Author Report Share Posted June 14, 2019 Hey, thanks. Sorry im new to ubot so im not sure where i would put that command. Can show me exactly how to do it ? Quote Link to post Share on other sites
gavner25 1 Posted June 15, 2019 Author Report Share Posted June 15, 2019 I just want to be able to click on the "latest" blog on the page each time i publish a new one. How can i do this? Quote Link to post Share on other sites
hare ram 23 Posted June 15, 2019 Report Share Posted June 15, 2019 You have exbrowser?You can click by that code which i shared you only you have to feed you your text and it is clickable.. Quote Link to post Share on other sites
stanf 43 Posted June 16, 2019 Report Share Posted June 16, 2019 this is assuming that the most recent post will be the one closest to the topthis was done using xpath navigate("https://speedcarsairports.blogspot.com/","Wait") add list to list(%gggg,$plugin function("XpathPlugin.dll", "$Generic Xpath Parser", $document text, "//ul[contains(@class,\"posts\")]//@href", "href", ""),"Delete","Global") wait(2) click(<href=$list item(%gggg,0)>,"Left Click","No") stop script if you dont know expath (like me), i suggesthttp://network.ubotstudio.com/forum/index.php/topic/17784-sell-%E2%96%BA%E2%96%BAxpath-builder-pro%E2%97%84%E2%97%84/?hl=xpath 1 Quote Link to post Share on other sites
gavner25 1 Posted June 16, 2019 Author Report Share Posted June 16, 2019 Great thanks. I worked it out!! Quote Link to post Share on other sites
fastlinks 16 Posted June 17, 2019 Report Share Posted June 17, 2019 navigate("https://speedcarsairports.blogspot.com/","Wait") click($element offset(<tagname="a">,1),"Left Click","No") 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.