Hi Andrei,
WebClient is probably the way to go. It is primarily developed for
Squeak but I'm currently using it with Pharo 1.1.
http://squeakingalong.wordpress.com/2010/05/05/webclient-and-webserver-for-squeak/
The tutorial in the Help section will help you to start.
Francois
On 29/07/10 18:06, Andrei Stebakov wrote:
I've been trying to find a library for Pharo/Squeak which would handle
GET/POST requests with the ability to manage cookies and deal with
https servers.
The HTTPSocket that's included in Pharo doesn't have cookies support.
I tried to find any library that handles cookies and there came up
CurlPlugin and SWHTTPClient.
SWHTTPClient page has a broken link to the source code
(http://map.squeak.org/package/15f42ec1-e93e-4bcf-ab2b-6746ae9d413f).
CurlPlugin package for Win32 that I found on the main project page
fails most of the tests and can't retrieve any http data.
I also found WebClient/WebServer library at
http://www.squeaksource.com/@QY3MLGU4hU3c8qcE/2xQek_iM which also
fails most tests after installation.
I wonder what people in smalltalk community are using when they need
to do some web scraping when they need to keep some session in
cookies?
What would be the best library to invest time into (I am very new to Smalltalk)?
Thank you,
Andrei
--
[email protected]
http://www.agilitic.com
+32 (0)484/580.322
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project