Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Get a page from the Web
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-07 (21:19)
From: Martin Chabr <martin_chabr@y...>
Subject: Get a page from the Web

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 = ""
url = urllib.urlopen(URL)
html =

You supply the URL and receive the page in HTML. Is
there anything simple like that in OCaml?




Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: