Unfortunately WWW::Mechanize doesn't work with HTTP-Refresh as it cannot maintain the session.
-----Original Message----- From: Alexey Tourbin [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 6:36 AM To: Don Fanning Cc: [email protected] Subject: Re: Perl usage for out of browser navigation On Thu, Oct 20, 2005 at 04:07:57AM -0700, Don Fanning wrote: > I am writing a script that scrapes certain webpage information. > Currently I have it working in WWW::MozEmbed but I would like to > convert it to elinks. The problem I'm having is that there seems to > be a lack of documentation pertaining to controling elinks outside the > browser interface. For instance, I would like a perl script to spawn > the browser (unfortunately piping to a text file doesn't work so it > has to be interactive) then what happens is that the remote page is > written with a HTTP-refresh which elinks does beautifully. > Afterwards, the new page comes up and I'll scrape the results. (URL > and text within the page). > > How would I go about writing this up? I've spent all day/night > reading the docs and examples within contrib/ but most of it deals > with reformating url's and scripting within the browser and less of > what's outside the browser. How would I call elinks to run a script? Try WWW::Mechanize. _______________________________________________ elinks-users mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-users
