> The code uses URI.parse for URI parsing and Net::HTTP for page 
> retrieval.  Currently the code breaks at the URI.parse.  Will it suffice 
> just to rewrite the URI.parse or do I need to find an alternative to 
> Net::HTTP as well?

Should be able to extend URI.parse and have it work there. Good luck!