I am using Hpricot and OpenURI to parse webpages and extract URLs from them.
When I get a link like \"http:rapidshare.com\", it is not redirecting to https. This is
See this Ruby bug report for a discussion of why you're experiencing this issue. See this gist for a monkey patch to OpenURI to allow "unsafe" redirects.