Hello,
Can anyone tell me how to read cells of a table on a webpage?
plz tell me methods.
Thanks in Advance
Deepak
···
--
Posted via http://www.ruby-forum.com/.
Hello,
Can anyone tell me how to read cells of a table on a webpage?
plz tell me methods.
Thanks in Advance
Deepak
--
Posted via http://www.ruby-forum.com/.
Deepak Kumar Shivhare wrote:
Can anyone tell me how to read cells of a table on a webpage?
plz tell me methods.
Take a look at Hpricot: http://code.whytheluckystiff.net/hpricot/
--
Posted via http://www.ruby-forum.com/.
Deepak Kumar Shivhare wrote:
Hello,
Can anyone tell me how to read cells of a table on a webpage?
plz tell me methods.
Check out scRUBYt!:
Quick example:
Input
scRUBYt program to extract all the cells:
=================================================================
table_data = Scrubyt::Extractor.define do
fetch "input.html"
output:
Cheers,
Peter
__
http://www.rubyrailways.com :: Ruby and Web2.0 blog
http://scrubyt.org :: Ruby web scraping framework
http://rubykitchensink.ca/ :: The indexed archive of all things Ruby