I have to develop a simple script to parse some parts of a web site
thought it could be a good opportunity to start trying Ruby.
I found that there are two network libraries that I could supposedly
to retrieve the contents of the web site: open-uri and net-http.
This web site is accessed only with https and has a self issued
certificate. This has made it impossible so far for me to access the
contents of the web site.
Simple examples from the Hpricot html parsing library like this one:
doc = Hpricot(open(“https://xxxxxx”))
will not work because the open will fail because of problems due to
I need to know also how to handle redirection and cookies. But to be
fair, I still can do some further reading myself on these issues.
Thank you very much.