2019年1月9日

根据正则表达式匹配页面中js和css文件

摘要: // 匹配 List<string> srcList = new List<string>(); List<string> linkList = new List<string>(); 阅读全文

posted @ 2019-01-09 11:50 木头人段 阅读(1694) 评论(0) 推荐(0) 编辑

根据地址获取html页面中的内容

摘要: private string GetHtml(string url) { // 获取文件 System.Text.Encoding en = System.Text.Encoding.GetEncoding("utf-8"); var html = ""; try ... 阅读全文

posted @ 2019-01-09 11:47 木头人段 阅读(233) 评论(0) 推荐(0) 编辑

导航