Jump to content
UBot Underground

How To Scrape Something Off A Second Site And "type Text" It Into The First?


Recommended Posts

hey

define googleSearch(#search) {
    in new browser {
        navigate("www.google.com","Wait")
        wait for browser event("Everything Loaded","")
        type text(<name="q">,#search,"Key Press")
        wait(1)
        click(<class="sbico">,"Left Click","No")
        comment("remove wait,and add your code!")
        wait(15)
    }
}
navigate("network.ubotstudio.com/forum","Wait")
wait for browser event("Everything Loaded","")
set(#scrape,$scrape attribute(<title="Homepage">,"innertext"),"Global")
googleSearch(#scrape)

  • Like 2
Link to post
Share on other sites

Yeah I hope this demonstrates defines to you, this is a define command, it runs an action

 

A define function should be used to return data

define $addNumbers(#addOne, #addTwo) {
    return($add(#addOne,#addTwo))
}
alert($addNumbers(1, 2))

 

 

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