02 2019 档案
摘要:安装NuGet包 HtmlAgilityPack var wc = new WebClient(); wc.Encoding = Encoding.GetEncoding("UTF-8"); //转格式 var html = wc.DownloadString(url); //获取内容 HtmlDo
阅读全文
摘要://设置登录cookie setCookie(name,value){ var Days=30; var exp=new Date(); var date=Math.round(exp.getTime()/1000)+Days*24*60*60; const cookie = { url: this....
阅读全文