From: Mat Schaffer Date: 2006-09-08T05:20:38+09:00 Subject: Re: [ANN] WWW::Mechanize 0.6.0 (Rufus) On 9/6/06, Aaron Patterson wrote: > Hi, > > I would like to announce that my Mechpricot pie is done baking and is > ready to eat. The main feature of this release is that Mechanize uses > Hpricot as its internal HTML parser and that you can now treat a page > object returned from mechanize as an Hpricot object. This makes screen > scraping using mechanize much easier. > > You can download it through gems: > gem install mechanize -y > > or get it here: > http://rubyforge.org/projects/mechanize/ > > Check out the release notes and changelog for more cool stuff. > > --Aaron > > > I'm noticing some issues with the changed behavior of WWW::Mechanize::Page#links.text I used to just be able to grab a link using page.links.text(/pattern/).first and it would work even if the had children. It doesn't seem to work anymore. I'm working on pinning the issue down, but you likely have more insight. Is there a new way to do this that's more hpricot friendly? Hpricot integration seems like a fine idea though, glad to see you making use of it. Thanks for all the hard work.