Jump to content
UBot Underground

odeesuba

Fellow UBotter
  • Content Count

    134
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by odeesuba

  1. Open Threads()
    define Open Threads {
        loop(2) {
            thread {
                in new browser {
                    Run Fill Form()
                }
            }
        }
    }
    define Run Fill Form {
        add list to list(%Data, $list from text($Get Variables Set As Local(), ","), "Don\'t Delete", "Local")
        navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
        wait for element(<first name field>, "", "Appear")
        type text(<first name field>, $list item(%Data, 0), "Standard")
        type text(<last name field>, $list item(%Data, 1), "Standard")
        wait(20)
    }
    define $Get Variables Set As Local {
        set(#First Name, $spin("\{Joe|Bill|Bob\}"), "Local")
        set(#Last Name, $spin("\{Blogs|Smith|Jones\}"), "Local")
        return("{#First Name},{#Last Name}")
    }
    

     

     

    • Like 2
  2. define Startup {
        clear list(%Main Menu)
        navigate("http://www.dafont.com/", "Wait")
        wait for element(<class="dl">, 120, "Appear")
        comment("Build Main Menu")
        add list to list(%Main Menu, $scrape attribute(<outerhtml=w"<a href=\"./alpha.php?lettre=*\"> *</a>">, "fullhref"), "Don\'t Delete", "Global")
    }
    define Go To Main Page {
        navigate($list item(%Main Menu, 0), "Wait")
        wait for browser event("Everything Loaded", "")
        wait for element(<class="dl">, 120, "Appear")
        if($comparison($scrape attribute(<name="fpp">, "value"), "!=", 50)) {
            then {
                change dropdown(<name="fpp">, 50)
                click(<value="Submit">, "Left Click", "No")
                wait for browser event("Page Loaded", 120)
            }
            else {
            }
        }
        set(#Temp URL, $url, "Global")
    }
    define Go To Sub Page {
        loop while($exists(<src="/img/page_suivante.gif">)) {
            click(<src="/img/page_suivante.gif">, "Left Click", "No")
            wait(10)
            wait for browser event("Page Loaded", 120)
            if($exists(<src="/img/theme_suivant.gif">)) {
                then {
                }
                else {
                    wait for element(<src="/img/page_suivante.gif">, 120, "Appear")
                }
            }
            set(#Temp URL, $url, "Global")
            Download From Page()
            navigate(#Temp URL, "Wait")
        }
    }
    define Download From Page {
        clear list(%URL)
        add list to list(%URL, $scrape attribute(<class="dl">, "href"), "Don\'t Delete", "Global")
        loop while($comparison($list total(%URL), ">", 0)) {
            download file($list item(%URL, 0), "{$special folder("Desktop")}\\fonts\\{$find regular expression($list item(%URL, 0), "(?<=f\\=).*")}.zip")
            remove from list(%URL, 0)
        }
    }
    Startup()
    loop while($comparison($list total(%Main Menu), ">", 0)) {
        Go To Main Page()
        Download From Page()
        comment("Work Around For Freez")
        navigate(#Temp URL, "Wait")
        Go To Sub Page()
        remove from list(%Main Menu, 0)
    }
    

     

     

     

    This bot will go through all the main pages, and then the sub pages and download all fonts on every page.

     

     

    This will take a lot or resources from the site, so be gentle or they may ban your ip.

     

     

    dafont.ubot

    • Like 1
  3. clear table(&Dates Table)
    add list to table as row(&Dates Table, 0, 0, $list from text("12/9/2012 6:56,1/20/2013 1:47", ","))
    add list to table as row(&Dates Table, 1, 0, $list from text("11/7/2012 11:06:00,1/19/2013 22:38:00", ","))
    add list to table as row(&Dates Table, 2, 0, $list from text("1/8/2013 1:21,1/20/2013 1:30", ","))
    set(#Current Row, 0, "Global")
    loop($table total rows(&Dates Table)) {
        navigate("http://www.preceden.com/calculators/duration", "Wait")
        type text(<name="start_date">, $table cell(&Dates Table, #Current Row, 0), "Standard")
        type text(<name="end_date">, $table cell(&Dates Table, #Current Row, 1), "Standard")
        click(<name="commit">, "Left Click", "No")
        wait for element(<innertext="Results">, "", "Appear")
        set(#Days, $scrape attribute(<outerhtml=w"<td>* days</td>">, "innertext"), "Global")
        set table cell(&Dates Table, #Current Row, 2, #Days)
        increment(#Current Row)
        load html("Row {#Current Row}  is {#Days}")
        wait(5)
    }
    load html(&Dates Table)
    

     

     

    Try the code above , if you need explanation , just ask

  4. Thanks Odeesuba,

     

    I was able to modify the code you submitted to work for me.

     

    One question though, were in the heck are the math functions. I couldn't find them anywhere... :blink: Under Math, all I see is $eval and $rand

     

    Thanks again,

    Justin

     

    Great that it worked for you.

     

    For math just put the math sign you need between the variables and it will change. For example + will change to add

  5. i.e.- 21

     

    Thanks in advance guys.

     

    Justin

     

    Try this

    ui stat monitor("Total", #List Total)
    clear list(%List)
    add list to list(%List, $list from text("1
    2
    3
    4
    5
    6", $new line), "Don\'t Delete", "Global")
    set(#List Total, 0, "Global")
    loop($list total(%List)) {
       set(#List Total, $add(#List Total, $next list item(%List)), "Global")
    }
    

    • Like 1
  6. Maybe affilate marketing then..But again, would it not be better to use software that already exists and can preform better to do the backlinking to my money site?

     

    Many thanks for any help

    Ant

     

    Here is an idea that can make you money without selling your bots, you can give your bots free when someone buy from your affiliate link.

     

    The trick is to make your bot specific to the offer.

     

    Let us take an example.

     

    You go searching for products that are selling well, and join as an affiliate.

     

    Example http://www.woothemes.com/affiliates/ it is a word press themes website that pays you $50 + $5 pm for the developer package.

    Their themes do not update directly in wordpress, you have to download the updated theme and install to your wordpress manually.

     

    What if you made a bot that makes it easy for people who buy that package to

    1) Download all the themes.

    2) Check for updates daily and download the updates

    3) One click install of any of the themes

    4) Easy upgrade when the themes get upgraded.

     

    I think people would buy through your link to get that bot.

     

    This can be duplicated to any affiliate program, the bonus that you offer people would be the most relevant.

     

     

    Another example what if you are promoting a book or a course that is teaching a specific method of doing stuff.

     

     

    You can take the steps in the book and make a bot to make it easier for the customer.

    • Like 1
  7. Try that code how exactly?

    Jonathan

     

    Hi Jonathan,

     

    I only wanted to tell you that you can download in ubot from the site you mentioned, and to give you the code to do that. That code works if you run it while ubot browser is displaying the download page to any of the videos.

     

    Below is the complete code , just subsititue ***** with your username and email, in line 2 and 3.

     

    navigate("https://www.videoblocks.com/login/", "Wait")
    type text(<username field>, "*****", "Standard")
    type text(<password field>, "*****", "Standard")
    click(<outerhtml="<input type=\"submit\" class=\"submit_button\">">, "Left Click", "No")
    wait for browser event("Everything Loaded", "")
    navigate("http://www.videoblocks.com/videos/details/slow-motion-windy-american-flag/", "Wait")
    wait for browser event("Everything Loaded", "")
    click(<class="download-now">, "Left Click", "No")
    save downloaded file("{$special folder("Desktop")}\\{$rand(8, 12)}.mov")
    
    
    

  8. There is a command that goes like "save downloaded file" or something like that.

     

    Put that command after the click for the download, and it will download the file.

     

    I have downloaded the keywords from adwords keyword tool using this method.

     

    I will upload the source when I get back to my computer.

  9. I think it's the right of any company to charge whatever they want for their products.

     

    If they want to sell the software for $1000 and $100 per month, it up to them.

     

    On the other hand the customer has the right to know in advance what he is getting into.

     

     

    My recommendation is for the charges to be explicitly explained on the order page, so future

    customers are not surprised with the monthly charges.

     

    As for the customers that did not get the explicit explanation, some kind of compromise maybe the old price

    of $5 per month.

×
×
  • Create New...