Can anybody please give me the details of how to parse html from a
‘https’ site using ‘net/http’. I came to learn that we can use basic
authentication techniques to do that. But I want to know whether there
is a way other than basic authentication to parse html content from a
https site. I dont want to use any external libraries and i only want to
use ‘net/http’ and not any parsing libraries like ‘Hpricot’ etc… Can
anybody please help me. I will be really greatfull.
initialize': getaddrinfo: Name or service not known (SocketError) from /usr/lib/ruby/1.8/net/http.rb:560:inopen’
connect' from /usr/lib/ruby/1.8/timeout.rb:53:intimeout’
timeout' from /usr/lib/ruby/1.8/net/http.rb:560:inconnect’
do_start' from /usr/lib/ruby/1.8/net/http.rb:542:instart’
This is the error which i get now when i use ‘net/http’.