Don Fanning <[EMAIL PROTECTED]> wrote Thu, Oct 20, 2005:
> 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?
That is not supported. If you used Lua you can run scripts interactively
but not 'remotely' however adding some kind of thing like
--remote 'runScript(...)'
doesn't sounds too bad. A patch is welcome.
--
Jonas Fonseca
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev