/// <summary> /// 获取说说总条数 /// </summary> /// <returns></returns> private async Task <int> GetSSCount() { var chromium = ChromiumHelper.GetChromium(); var skey = await chromium.GetS_Key(); g_tk = WebUtil.CalcG_tk(skey); var url = QzoneUrl.GetPersonalMain.Replace("@qq", currentQQNum).Replace("@g_tk", g_tk); await chromium.LaunchUrl(url); var source = await chromium.GetHtmlSource(); if (string.IsNullOrEmpty(source)) { return(0); } var ssCount = RegexUtil.Extract(source, RegexUtil.ExtractSSPattern, "ss"); return(ConvertUtil.SafeConvertToInt(ssCount)); }