From: Martin Chabr <martin_chabr@yahoo.de>
To: Karl Zilles <zilles@1969web.com>
Cc: caml-list@inria.fr
Subject: Ant: Re: [Caml-list] Get a page from the Web
Date: Mon, 7 Nov 2005 22:47:02 +0100 (CET) [thread overview]
Message-ID: <20051107214702.44582.qmail@web26803.mail.ukl.yahoo.com> (raw)
In-Reply-To: <436FC866.4090709@1969web.com>
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
next parent reply other threads:[~2005-11-07 21:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <436FC866.4090709@1969web.com>
2005-11-07 21:47 ` Martin Chabr [this message]
2005-11-07 22:09 ` Eric Cooper
2005-11-08 10:40 Richard Jones
2005-11-09 18:13 ` Ant: " Martin Chabr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051107214702.44582.qmail@web26803.mail.ukl.yahoo.com \
--to=martin_chabr@yahoo.de \
--cc=caml-list@inria.fr \
--cc=zilles@1969web.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox