Re: Can I run elinks without terminal

Simon Ruderich <[email protected]> Sat, 26 Mar 2011 20:14:39 +0100
Newsgroups gmane.comp.web.elinks.user
Message-ID <[email protected]>
On Sat, Mar 26, 2011 at 09:54:04PM +0800, Tian You wrote:
> Thx for your reply, Simon.
>
> Yes, I tried to use "-dump", but cannot reach my goal.
> With -dump, there are two problems:
> 1, history file is not touched.
> 2, Can not handle redirection by meta tag and JavaScript.

Yeah, looks like it. So -dump won't work. Then you need a
terminal.

> I try to use a browser, like Elinks, is because I want to find a way can
> resolve those redirections by one solution.
> And I'm sure Elinks could handle JavaScript better than my script :)

You could use Lua hooks to check the result (including the URL
IIRC). But I'm not sure how they handle with redirects.

I still think that wget/curl is a better solution for this
problem.

Regards,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9

_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJNjjsfAAoJEJL+/bfkTDL5+H0QAITBR8DC4pkkHzl7vMoTLJld
n9iTNBvAuVGxcdub5dQaFdGoapwwi0EV01fRQRDW0q+62auAatyyMwr5NxbrMNvF
flEUD2BqIe7ogcZY+8/KeO+6aZu0W8Ln+P1mTQ8V0jJ9MXAH1Rj5CyZUufE7pI1W
g6zkUEsXBMfbIjhOZ1WcMBXASNRu1/a2VKVK3r+vGnaYYQ281FFG6BNUmii77ekd
t7ifhtPuMMjT608+0eWZJk32HFdG2rfZXQm/B7xAh5MhbXc/AQyxUvtsdd6JKX1r
MGjWmPnX2ArCn/TaZomfZ8cwgPS4KgHEqnER25Dao1L9xmaicvAVUNu4cKaU3rPb
mKwDkPmgIna1lOlAjm4IXUy3pEyuKc6TwQqyV/nncoB/B4KgNhoQehYOj+Xac/mu
/Qch/iD8ub4Wcl6Nl4bpianKlM4Dn55c6R1H0ffvsqg78Mr+VL2sdIB3mrR7Thcv
Pb+9NsWfYPwYqLrXA/VYE7+yfK7j7YmNXXMOsBJsLOS2hw8uca8YDSY7wmJb1ed8
E7wQ81e+ZwluTDIvyM00NAqja0kKDE09wU8qUtALFat52JeYLW1fNRHxKBa9aTmc
SUmnkqKbZYo/ajvINeZEq8N/ZsQjzvN2H1jY1Qdy5FDp2tu+LLHSAQRqgBXjVY7V
jHIPEu2xJlbOXjKwdAgW
=G+aB
-----END PGP SIGNATURE-----