#region 获取网页源码
public static string HttpClientGetHtmls(string url)
{
try
{
var client = new HttpClient();
var response = client.GetAsync(new Uri(url)).Result;
return response.Content.ReadAsStringAsync().Result;
}
catch (Exception exception)
{
Util.Log(exception);
}
return "";
}
#endregion