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 2012-09-28 16:15
on 2012-09-28 17:15
On Fri, Sep 28, 2012 at 4:15 PM, Arup Rakshit <lists@ruby-forum.com> 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.
on 2012-10-01 10:44
hi a fast source of information: http://ruby.bastardsbook.com/chapters/html-parsing/ which uses nokogiri hope this help Arup Rakshit 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 2012-10-01 14:40
On Fri, Sep 28, 2012 at 11:15 AM, Jess Gabriel y Galn < jgabrielygalan@gmail.com> 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 Bates's Railscasts on this topic: http://railscasts.com/episodes/190-screen-scraping... http://railscasts.com/episodes/191-mechanize
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.