def parse_html(user_id)
      url = API_URL + user_id.to_s + '&startNum=0&endNum=0'
      # first test and get comments num for the user
      first_doc = JSON.parse(url_get_html(url))
      total_num = first_doc['totalsize']

      url = API_URL + user_id.to_s + '&startNum=0&endNum=' + total_num
      # mainDoc is the all json date for the user's all comment
      main_doc = JSON.parse(url_get_html(url))
      extract_comments(main_doc['result1'], user_id)
    end
def parse_html(user_id)
      url = API_URL + user_id.to_s + '&startNum=0&endNum=0'
      # first test and get comments num for the user
      first_doc = JSON.parse(url_get_html(url))
      total_num = first_doc['totalsize']

      url = API_URL + user_id.to_s + '&startNum=0&endNum=' + total_num
      # mainDoc is the all json date for the user's all comment
      main_doc = JSON.parse(url_get_html(url))
      extract_comments(main_doc['result1'], user_id)
    end
Parse the html of the url page.