From: Phlip Date: 2009-03-13T23:32:56+09:00 Subject: Re: HTML extraction using ruby Arun Kumar wrote: > Hi, > Can anybody tell me how to extract all the hyperlinks given in the > url:http://scores.sify.com/match/archive/archive.shtml using ruby. I > want the those urls having the class 'com_blue com_size12 com_arial12'. > ie. to be more precise > , these are the type > of urls i want to have. Use doc = Nokogiri::HTML( my_html ), then something like doc.css('a.com_blue').each