Jump to content



stanf

Member Since 30 Jul 2012
Offline Last Active Yesterday, 11:36 PM
-----

#137872 Choose Latest Item On Page

Posted by stanf on 16 June 2019 - 06:32 AM

this is assuming that the most recent post will be the one closest to the top

this 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 suggest

http://network.ubots...pro◄◄/?hl=xpath




#137549 Ubot Fails To Scrape Google Result Links

Posted by stanf on 07 May 2019 - 06:44 PM

set(#jjjjjjj,$scrape attribute(<class="r">,"outerhtml"),"Global")

 

----------------------------------------

 

set(#jjjjjjj,$scrape attribute(<class="iUh30">,"innerhtml"),"Global")




#136958 To Kill All Popup..in Exbrowser

Posted by stanf on 24 January 2019 - 03:42 PM

i load popup chrome blocker extension




#136021 Questions About Your Development In Ubot

Posted by stanf on 23 October 2018 - 08:30 PM

hi nick

i could use a primer on ubot and sqlite




#134347 Screenshot : Income From One Of The Bot

Posted by stanf on 17 May 2018 - 06:51 PM

would you mind sharing some broad strokes on how you identified a market for your bots?




#133790 Question About Youtube And Acting On Views (If Then Statement)

Posted by stanf on 03 April 2018 - 02:51 AM

i did not take into account the unstable nature of ubots browser ( i use xbrowser), i also use xpath builder both by dan (http://network.ubots...ot-factory-dan/ )

 

also regex builder by helloinsomnia ( http://network.ubots...elloinsomnia/).

save your pennies and grab all three items they will make your life easier.

ps.

this xpath code is shorter

(//span[contains(@class,"about-stat")])[2]

there are 3 classes "about-stat"

adding the Prentiss around the code and the brackets with the 2 in the middle  helps identify the second one,

tinku

codes his xpath by hand (i aint that smart), but both will grab the data that you want




#133788 Question About Youtube And Acting On Views (If Then Statement)

Posted by stanf on 02 April 2018 - 09:26 PM

navigate("https://www.youtube....able_polymer=1","Wait")
set(#raw veiws,$scrape attribute(<innerhtml=w" • <b>*</b> views">,"innertext"),"Global")
set(#final number,$find regular expression(#raw veiws,".(?<=.*\\s).*(?=\\sviews)"),"Global")
if($comparison(#final number,"> Greater than",15000000)) {
    then {
        alert("greater")
    }
    else {
        alert("less")
    }
}




#127048 What Is This Php Method Called For Tracking Links ?

Posted by stanf on 04 February 2017 - 07:05 PM

If your learning php and don't mind doing the leg work. I would get a hold of an open source link script or a traffic trader script and take it apart and follow the code.
If you go to hotscripts.com you might find something that you can disect


#126780 Windows Automation With Image Recognition

Posted by stanf on 23 January 2017 - 07:06 AM

try this

http://ubotplugin.co...ows-automation/

 

i started of using winautomation, but found this to be pretty seamless integration and it is produced by one of the forums most prolific plugin creators and offers great support for his products 




#126555 Ok, Captchas Are Officially Freaky Now!

Posted by stanf on 09 January 2017 - 09:29 PM

Yeah, a buddy of mine was setting up a new ffbb account, and had that same captcha come up, and in the process of him picking the correct images, other images would pop up and you had to pick those too,......... damn.

those are not that bad.

if you tease it apart there is a switch that flips from false to true when you get to the last one.

the one that frank showed is a new and more evil beast




#126212 How To Scrape Address From Fakenamegenerator?

Posted by stanf on 20 December 2016 - 09:14 AM

there are more clever ways to do this, but since the placement of the data will never change this is quick and easy

---------------------------------------------------------------------------------------

clear all data
navigate("http://www.fakenamegenerator.com/","Wait")
set(#raw data,$scrape attribute(<class="content">,"innertext"),"Global")
add list to list(%break out data,$list from text(#raw data,$new line),"Delete","Global")
set(#raw data,"","Global")




#126144 [Sell] Ubotlocker Unleashed Licensing [Complete Mod]

Posted by stanf on 17 December 2016 - 11:38 AM

looking forward to this




#125988 Number Format 1,2,3 To 001,002,003 Etc

Posted by stanf on 07 December 2016 - 09:18 AM

Not sure, Is that in a plugin?

never mind

its one of pash's goodies

thats the problem when you own all the plugins




#125631 How To... Make Ubot Scroll Down To A Specific Phrase In A Document?

Posted by stanf on 19 November 2016 - 03:58 PM

i stand corrected

 

navigate("http://stackoverflow...scroll-to-text","Wait")
wait(12)
run javascript("$(window).scrollTop($(\"*:contains(\'Are you a Lib Dem or Tory\'):last\").offset().top);")

i love a puzzle




#125330 [Sell] Exbrowser Now On Sale

Posted by stanf on 07 November 2016 - 08:46 AM

thank you dan :)

when you releasing your next creation , i feel like a need to buy something :wub: