[Haskell-cafe] Is there any url lib?

Bjorn Bringert bringert at cs.chalmers.se
Sun Jun 4 15:27:53 EDT 2006


On Jun 3, 2006, at 7:46 AM, Marc Weber wrote:
> Did anyone implement something like pythons urllib yet?
>
> I wont to retrieve some files via http (I could use wget -O - for that
> ) and send some form information (post/get)..
>
> In other words: Something like expect but for downloading some  
> documents
> from a website.. ;)

You may want to have a look at the HTTP and Browser packages: http:// 
www.haskell.org/http/

> Perhaps I should have another look at wash?
> I think I can find encoding/decoding parameters for method = get  
> there..

For URL handling, including encoding, try Network.URI in the standard  
libraries: http://www.haskell.org/ghc/docs/latest/html/libraries/ 
network/Network-URI.html

/Björn


More information about the Haskell-Cafe mailing list