def parse_html(user_id)
      url = API_URL + user_id
      first_doc = JSON.parse(open(url).read)
      totalsize = first_doc['totalsize']

      url = API_URL + user_id + '&startNum=0&endNum=' + totalsize.to_s
      @doc = JSON.parse(open(url).read)['result1']
    end
def parse_html(user_id)
      url = API_URL + user_id
      first_doc = JSON.parse(open(url).read)
      totalsize = first_doc['totalsize']

      url = API_URL + user_id + '&startNum=0&endNum=' + totalsize.to_s
      @doc = JSON.parse(open(url).read)['result1']
    end
Parse the html of the url page.