Jump to content
UBot Underground

How To Post Articles Using Ubot


Recommended Posts

Hi,

I need help again:

 

How do I posting article based on urls from list

  1. I have blog list in .txt file (e.g 10 wordpress blogs/all same platform)
  2. I want to create post to every blog in the list

Step:

  1. open file (.txt file blog already with username and password for login)
  2. posting article to every blogs in the list

I already read http://wiki.ubotstudio.com/wiki/Navigate and try the following code:
 

clear list(%myurls)add list to list(%myurls, $list from text("www.ubotstudio.com/blog,www.ubotstudio.com,www.twitter.com/ubotstudio,https://www.facebook.com/LikeUBot", ","), "Delete", "Global")set list position(%myurls, 0)loop($list total(%myurls)) {    navigate($next list item(%myurls), "Wait")    wait(3)}That script is almost script that I want to create but I need to customize become exactly same like I need

thanks

Link to post
Share on other sites

You need to use "$list from file" not $list from text" if you want to use your txt file.

clear list(%myurls)add list to list(%myurls, $list from file("C:\\Users\\username\\Documents\\urls.txt"), "Delete", "Global")set list position(%myurls, 0)loop($list total(%myurls)) {    navigate($next list item(%myurls), "Wait")    wait for browser event("Everything Loaded", "")}

after the "wait for browser event("Everything Loaded", "")" you need to put  your code to login to your site, you have lo togin.... and to post...

 

 

If you don't know how to do it, just watch the tutorials videos of ubot http://www.ubotstudio.com/tutorials

Link to post
Share on other sites

Hi Zenos,

 

Thanks so much for your help, I already try, this is script like I need, now everything is ok..

 

This is script I made:

 

clear list(%myurls)
add list to list(%myurls,$list from file("C:\\Users\\User\\xxx\\xxx\\xxx\\list x.txt"),"Delete","Global")
set list position(%myurls,0)
loop($list total(%myurls)) {
    navigate($next list item(%myurls),"Wait")
    wait for browser event("Everything Loaded","")
    type text(<username field>,"admin","Standard")
    wait(3)
    type text(<password field>,"xxx","Standard")
    click(<login button>,"Left Click","No")
    wait for browser event("Everything Loaded","")
    wait(5)
    click($element offset(<login link>,0),"Left Click","No")
    wait(5)
}

 

I work perfectly

 

anyway I still have one more aks :D :

 

e.g I have 2 or more urls in the list but:

 

  1. all urls has different username and password
  2. every urls are different paltform/type/CMS

What should I do?

 

Thanks Zenos

Link to post
Share on other sites

Something like this, use table, not lists.

 

Your txt file like this :

 

www.overblog.com;login1;pass1
www.wordpress.com;login2;pass2
www.wordpress.com;login3;pass3

www.tumblr.com;login4;pass4

 

clear table(&tableurllogin)
create table from file("C:\\Users\\ze\\Desktop\\fichiers TXT\\urlstest.txt"&tableurllogin)
loop($table total rows(&tableurllogin)) {
    set(#url$table cell(&tableurllogin, 0, 0), "Global")
    if($contains(#url"overblog")) {
        then {
            navigate(#url"Wait")
            comment("code for overblog, login, pass, click, post...")
            type text(<username field>$table cell(&tableurllogin, 0, 1), "Standard")
            type text(<password field>$table cell(&tableurllogin, 0, 2), "Standard")
        }
        else if($contains(#url"wordpress")) {
            then {
                navigate(#url"Wait")
                comment("code for wordpress, login, pass, click, post...")
                type text(<username field>$table cell(&tableurllogin, 0, 1), "Standard")
                type text(<password field>$table cell(&tableurllogin, 0, 2), "Standard")
            }
        }
        else if($contains(#url"tumblr")) {
            then {
                navigate(#url"Wait")
                comment("code for tumblr, login, pass, click, post...")
                type text(<username field>$table cell(&tableurllogin, 0, 1), "Standard")
                type text(<password field>$table cell(&tableurllogin, 0, 2), "Standard")
            }
        }
        else {
            alert("cms not find")
        }
    }
    plugin command("TableCommands.dll""delete from table"&tableurllogin"Row", 0)
}

Edited by zenos
Link to post
Share on other sites

Hi Zenos,

 

I need your help again when crating script to login in inube.com

 

How do I can login in inube.com using ubot, login button not working in any attributes and in recording mode.

 

thanks for help Zeno

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...