Phobos urllib

Graham Fawcett fawcett at uwindsor.ca
Fri Aug 13 07:23:10 PDT 2010


Hi Mengu,

On Fri, 13 Aug 2010 10:15:01 -0400, Mengu wrote:

> Mengu Wrote:
> 
>> Hello everyone,
>> 
>> Python has a library named urllib which can be found at
>> http://docs.python.org/library/urllib2.html.
>> 
>> Does Phobos have anything similar to this library? All I need is
>> fetching data from a web site.
> 
> Anyone has any idea on this matter?

I don't think there is anything usable in Phobos at the moment. However,
several people have written bindings for libCURL, which will do what you
need.

I've got one here:

http://github.com/gmfawcett/d-play-libcurl/blob/master/fawcett/curl.d

There's one on dsource, here:

http://dsource.org/projects/curld/browser/trunk/curld

Best,
Graham


More information about the Digitalmars-d mailing list