Jump to content



tinku

Member Since 04 Apr 2017
Offline Last Active Yesterday, 11:09 AM
-----

#140019 Trying To Work Out What To Do For This Api (Struggling Badly)

Posted by tinku on 18 April 2020 - 12:31 PM

set(#test,$plugin function("HeopasCustom.dll", "$Heopas HTTP Post", "https://doc-partner-...-bb6156af1316","\{\"text\": \"{#text}\"\}", "", "", "", "Content-Type: text/plain", ""),"Global")
 
You can use heopas plugin as http post is getting old and aymen has not updated the plugin from a couple of years.It have not option to pass header,you can pass the key words in parameters and headers as your need .You can correlate it with the code i have attached.
Thanks&Regards
Tinku Singh 



#134205 Loop List Total

Posted by tinku on 06 May 2018 - 10:35 PM

ui open file("email",#openemail)
ui open file("password",#openpassword)
clear list(%email)
clear list(%pass)
add list to list(%email,$list from file(#openemail),"Delete","Global")
add list to list(%pass,$list from file(#openpassword),"Delete","Global")
set list position(%email,0)
set list position(%pass,0)
loop($list total(%pass)) {
    stuffs()
}

 

 

Don't try to loop with both list you can increment data with next list item for(email),next list item(pass).Hope it help you .If more clarification required you can ask me on skype , my skype id is :- live:69f5974a7e15e93e




#134011 Virus Alerts

Posted by tinku on 20 April 2018 - 10:36 PM

yep we all are facing same issue and ubot never tried to sort out this problem.




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

Posted by tinku on 02 April 2018 - 10:40 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")
    }
}

you can also try with xpath download heopas free plugin and try with that because ubot browser is not so stable the code like this:-

set(#xpath,$plugin function("XpathPlugin.dll", "$Generic Xpath Parser", $document text, "x://*[@id=\"browse-items-primary\"]/li/div/div[3]/div/span[2]/b", "innerhtml", ""),"Global")
and follow the logic as suggested by stanf