Jump to content
UBot Underground

Any ubot source code out there with scrape a text box.


Recommended Posts

I have watched a ton of videos out there, does anyone remember seeing a tutorial or a sample of a bot scraping a text box.. I see tons of bots dumping all kinds of text into a text box and bots scraping data all over the place but can find none scraping a text box...

 

Very simple if someone could give me a simple of example of grabing the text from a text box and saving it to a variable or even a file would be a great assistance..

 

Thanks

Link to post
Share on other sites

I have watched a ton of videos out there, does anyone remember seeing a tutorial or a sample of a bot scraping a text box.. I see tons of bots dumping all kinds of text into a text box and bots scraping data all over the place but can find none scraping a text box...

 

Very simple if someone could give me a simple of example of grabing the text from a text box and saving it to a variable or even a file would be a great assistance..

 

Thanks

 

All you need to do is choose the text box by attribute (name or id usually) and then scrape the chosen attributes value.

 

Simple example attached! Hope this helps.

 

scrapetextbox.ubot

 

Andy

Link to post
Share on other sites

All you need to do is choose the text box by attribute (name or id usually) and then scrape the chosen attributes value.

 

Simple example attached! Hope this helps.

 

scrapetextbox.ubot

 

Andy

 

 

Boy I am starting to feel really dumb.. no one seems to be asking all these questions but me...

Everything but the most important one worked great... that is getting the text..

 

Navigate:http://www.tizag.com/phpT/examples/formex.php

Wait = Yes

 

Choose by attribute

Attribute = name

Search String = quote

Method = exact match

 

 

************************ Start my problem *******************

set

Variable

#myvariable

Content

1. $scrape chosen attributes

2. attribute

3. value

*********************** End my problem ***********************

 

 

ui stat monitor

Label

My variable

Watch

#myvariable

 

 

How do you get these 3 statements above (1,2,3) into the box..

I even tried typing the scrape words in the box.. and they

went in but did not work and the last two attribute and value did not show up.

I think if I can understand this 3 entries I will be on a roll..

Link to post
Share on other sites

Let me try to clarify this a little more as to exactly where I am..

 

1. I set up the Navigation ok and it works..

2. I click on the tizag text box.

3. I rite click on the tizag text box.

4. I select Choose by attribute

5. I select attribute by name

6. the word quote appears in the box

7. method of exact match is hilited.

8. click ok and all seems well.

 

Problem begins here.

********************

While hovering over the last box... where I normally drag and drop stuff...

1. I click on Set Variable.

2. I click on my variable in the box called #myvariable.

3. #myvariable pop up into the box.

4. Now its time to fil the content box with $scrape chosen attributes...

So what do I do to get that statment into the box..

********************

End of problem.

 

Final steps seem ok..

1. Click UI stat monitor

2. In label box I type My Variable

3. For watch I type #myvariable

Link to post
Share on other sites

Can you upload the script?

 

 

It's the script above sample that Net66 gave me.. it works great when I run it, but then I tried to rewrite it exactly as it is and when I get to the point of fillinng the program into the content box I don't understatnd what button to push.... I am just trying to learn how to do a basic input/text box scrape.. and its right there before my eyes but when I try to dupe it... I am leaving out something very important..

 

As soon as I learn to do the very basic text box scrape the actual project to scrape is below... and it has a command that if someone clicks you dump to their clipboard...onfocus="copy actually will put it on my clipboard..

I don't think that will affect my scrapping though... actually it might help as I could foucus it then just grab it off the clipboard vice scrapping... wonder if Ubot has any grab clipboard commands..

 

 

<INPUT id=ctl00_SampleContent_ctlCraigslist_txtTitle style="WIDTH: 280px" onfocus="copy('ctl00_SampleContent_ctlCraigslist_txtTitle')" value="Virginia Beach, VA Home for Sale - 3bd 2ba" name=ctl00$SampleContent$ctlCraigslist$txtTitle>

 

Bottom line ... if I can do a text box scrape I should then be able to move on the the live example above..

 

Thanks for any help..

Link to post
Share on other sites

Alright so this is the way:

 

choose the input field by attribute

set variable #blablabla and leave the content field open

 

mark the empty node inside the set command and right click in the page, $scrape chosen attribute

 

:)

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