# File lib/rbot/core/utils/utils.rb, line 557
    def Utils.get_html_info(doc, opts={})
      case doc
      when String
        Utils.get_string_html_info(doc, opts)
      when Net::HTTPResponse
        Utils.get_resp_html_info(doc, opts)
      when URI
        ret = DataStream.new
        @@bot.httputil.get_response(doc) { |resp|
          ret.replace Utils.get_resp_html_info(resp, opts)
        }
        return ret
      else
        raise
      end
    end