[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Martin Chabr <martin_chabr@y...> |
| Subject: | Ant: Re: [Caml-list] Get a page from the Web |
That was fast! Thank you, Karl, I will have a look. Martin --- Karl Zilles <zilles@1969web.com> schrieb: > Martin Chabr wrote: > > Hello, > > > > I have been looking for ways to get a page in HTML > > from the Web, using an OCaml program, something > like > > the following Python snippet: > > > > import urllib > > URL = "http://www.ibm.com" > > url = urllib.urlopen(URL) > > html = url.read() > > > > You supply the URL and receive the page in HTML. > Is > > there anything simple like that in OCaml? > > I use the Ocaml binding to the curl library. It has > worked well for me > and it can handle high level details like > maintaining cookies across > calls (for session continuity and logins): > > http://sourceforge.net/projects/ocurl/ > ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de