I need to know any way to read the values from a webpage table

Hi,

I need your help to find and select the value say “Contact: Email
Credentials” using Ruby.

The source code i have attached above for the same.

Please help me out here!!

Regards,
Arup

On Fri, Sep 28, 2012 at 4:15 PM, Arup R. [email protected]
wrote:

Hi,

I need your help to find and select the value say “Contact: Email
Credentials” using Ruby.

The source code i have attached above for the same.

Please help me out here!!

To scrape a page a good tool is Nokogiri (it’s a gem). You can use
XPath or CSS selectors to read specific tags from the HTML and extract
them. I recommend you read a bit about XPath and look at the nokogiri
documentation, where there are examples.

Jesus.

hi

a fast source of information:

which uses nokogiri

hope this help

Arup R. wrote in post #1077906:

Hi,

I need your help to find and select the value say “Contact: Email
Credentials” using Ruby.

The source code i have attached above for the same.

Please help me out here!!

Regards,
Arup

On Fri, Sep 28, 2012 at 11:15 AM, Jess Gabriel y Galn <
[email protected]> wrote:

To scrape a page a good tool is Nokogiri (it’s a gem). You can use
XPath or CSS selectors to read specific tags from the HTML and extract
them. I recommend you read a bit about XPath and look at the nokogiri
documentation, where there are examples.

You should watch Ryan B.'s Railscasts on this topic: