Thumbs up :)Thanks!
> Date: Fri, 13 May 2011 07:13:17 +0200
> From: apoc at sixserv.org
> To: mechanize-users at rubyforge.org
> Subject: Re: [Mechanize-users] retrieve metadata
>
> maybe $page.meta.first.href is what you''re looking for?
>
> bye
> apoc
>
> On 05/12/2011 06:55 PM, Rob GB wrote:
> >
> > Hi all,
> >
> > When I request a URL I get a refresh URL in the headers:
> >
> > <meta http-equiv="refresh"
content="2;url=/html/Splash.action?splash="/>\
> >
> > When I ask to mechanize to list the metadata I do this:
> >
> > pp $page.meta
> >
> > I get:
> >
> > [#<Mechanize::Page::Meta
> > ""
> > "http://localhost/html/Splash.action?splash=">]
> >
> > How can I cleanly retrieve the refresh URL?
> >
> > Thanks!
> >
> >
> >
> > _______________________________________________
> > Mechanize-users mailing list
> > Mechanize-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/mechanize-users
>
> _______________________________________________
> Mechanize-users mailing list
> Mechanize-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mechanize-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/mechanize-users/attachments/20110513/0776a59b/attachment.html>