Jump to content
UBot Underground

Still can't scrape to table?


Recommended Posts

I really thought this would be addressed by now but I see no mention of it in the forum, and the tables tutorial doesn't cover this at all. Seems like this would be one of the most commonly needed things!

 

I regularly find myself wanting to scrape tables of data from web pages, and manipulate them as tables. Here's a common hypothetical example... say I wanted to grab the table of proxies found here:

 

http://www.samair.ru/proxy/type-01.htm

 

I want to grab all the columns and rows of data, shove them into a table, and then be able to iterate through them etc. in UBot. This way I can have UBot automatically see data in one column, based on data from another column in the same row. Like for example, choose a proxy only if it is in the US and listed as anonymous... that sort of thing.

 

How is this possible with the new tables system? Seems like it should be so dead easy but without a "$scrape to table" function it still seems way more complicated than it should be.

 

Suggestions?

 

Thanks!

 

Jonathan

Link to post
Share on other sites

I like the idea of having a $scrape table kind of function, to where you can choose the html table and scrape it to a ubot table. it might be a bit tricky to implement, because tables often don't have any information in the tags, but I'm going to look into it.

Link to post
Share on other sites

Yeah especially when data is laid out in the APPEARANCE of a table, but without using a <table>... like when everything is done with DIV and SPAN tags, for example. But hell even if all it could do was scrape "real" tables, that would be absolutely tremendously useful!!!

 

Also as discussed once before in another thread on this subject, it would be good to have both $scrape table as well as a $scrape to table cell function.

 

Thanks for looking into this Seth!

 

Jonathan

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