
Hi. 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.. ;) Perhaps I should have another look at wash? I think I can find encoding/decoding parameters for method = get there.. Marc

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
participants (2)
-
Bjorn Bringert
-
Marc Weber