ovladani Lynxu ze STDIN

Martin Mačok martin.macok na underground.cz
Pondělí Listopad 13 21:34:14 CET 2000


On Mon, Nov 13, 2000 at 08:16:29PM +0000, Martin Kozusky wrote:
> potrebuju ovladat Lynx ze STDIN.
> neco jako
> 
> otevri stranku xxx
> na stranku posli yyy
> pak zmackni enter

Rekl bych, ze lynx na takovou praci neni stavenej, ale muzete zkusit
pouzit expect, ale nerucim za vysledek (a hlavne nastaveni 'casovani'
"stisku" klaves ...).

> echo -e "\t" | (echo "g www.pocasi.cz " | lynx - ) by melo skocit na
> pocasi.cz a tam zmacknout TABelator
> 
> PS: Nechci pouzivat WGET, protoze se mi nepodarilo ho rozchodit s cookies
> pokud znate jineho www klienta ktery umi cookies a da se ovaldat ze STDIN
> klidne doporucte

CURL:
       curl is a client  to  get  documents/files  from  servers,
       using  any  of  the  supported  protocols.  The command is
       designed to work without user interaction or any  kind  of
       interactivity.

       curl offers a busload of useful tricks like proxy support,
       user authentication, ftp upload, HTTP post,  SSL  (https:)
       connections, cookies, file transfer resume and more.

http://curl.haxx.se/

(v Red Hatu i Debianu jsou predkompilovane balicky).

bye

-- 
< Martin Mačok    .-=  martin.macok na underground.cz  =-.   < iso-8859-2 > 
  \\. http://kocour.ms.mff.cuni.cz/~macok/  http://underground.cz/ .//
    \\\..         `-=    t.r.u.s.t   n.0  o.n.e     =-'        ..///


Další informace o konferenci Linux