asp.net(C#)数据采集类

2016-12-30 09:57:38来源:oschina作者:深圳大道人点击

第七城市
using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Web;
using MSXML2; //添加引用 COM - Microsoft XML V3.0-V6.0
using System.Text.RegularExpressions;
namespace EC
{
///
/// 远程文件抓取类
///

public class GetRemoteObj
{
#region 构造与析构函数
public GetRemoteObj()
{
//
// TODO: 在此处添加构造函数逻辑
//
}
~GetRemoteObj()
{
Dispose();
}
#endregion
#region IDisposable 成员
public void Dispose()
{
GC.SuppressFinalize(this);
}
#endregion
#region 取得文件后缀
///
/// 取得文件后缀
///

/// 文件名称
///
public string GetFileExtends(string filename)
{
string ext = null;
if (filename.IndexOf('.') > 0)
{
string[] fs = filename.Split('.');
ext = fs[fs.Length - 1];
}
return ext;
}
#endregion
#region 获取远程文件源代码
/**********************************
* 函数名称:GetRemoteHtmlCode
* 功能说明:获取远程文件源代码
* 参数:Url:远程url
* 调用示例:
* GetRemoteObj o = new GetRemoteObj();
* string url = @"http://www.baidu.com";
* string s = o.GetRemoteHtmlCode(url);
* Response.Write(s);
* o.Dispose();
* ********************************/
///
/// 获取远程文件源代码
///

/// 远程url
///
public string GetRemoteHtmlCode(string Url)
{
string s = "";
MSXML2.XMLHTTP _xmlhttp = new MSXML2.XMLHTTP();
_xmlhttp.open("GET", Url, false, null, null);
_xmlhttp.send("");
if (_xmlhttp.readyState == 4)
{
s = System.Text.Encoding.Default.GetString((byte[])_xmlhttp.responseBody);
}
return s;
}
#endregion
#region 保存远程文件
/**********************************
* 函数名称:RemoteSave
* 功能说明:保存远程文件
* 参数:Url:远程url;Path:保存到的路径
* 调用示例:
* GetRemoteObj o = new GetRemoteObj();
* string s = "";
* string url = @"/2014th7cj/d/file/p/20161230/z2zs21ctyup.gif";
* string path =Server.MapPath("Html/");
* s = o.RemoteSave(url,path);
* Response.Write(s);
* o.Dispose();
* ******************************/
///
/// 保存远程文件
///

/// 远程url
/// 保存到的路径
///
public string RemoteSave(string Url, string Path)
{
Random ra = new Random();
string StringFileName = DateTime.Now.ToString("yyyyMMddHHmmssffff") + "." + GetFileExtends(Url);
string StringFilePath = Path + StringFileName;
MSXML2.XMLHTTP _xmlhttp = new MSXML2.XMLHTTP();
_xmlhttp.open("GET", Url, false, null, null);
_xmlhttp.send("");
if (_xmlhttp.readyState == 4)
{
if (System.IO.File.Exists(StringFilePath))
System.IO.File.Delete(StringFilePath);
System.IO.FileStream fs = new System.IO.FileStream(StringFilePath, System.IO.FileMode.CreateNew);
System.IO.BinaryWriter w = new System.IO.BinaryWriter(fs);
w.Write((byte[])_xmlhttp.responseBody);
w.Close();
fs.Close();
}
else
throw new Exception(_xmlhttp.statusText);
return StringFileName;
}
#endregion
#region 替换网页中的换行和引号
///
/// 替换网页中的换行和引号
///

/// HTML源代码
///
public string ReplaceEnter(string HtmlCode)
{
string s = "";
if (HtmlCode == null || HtmlCode == "")
s = "";
else
s = HtmlCode.Replace("/"", "");
s = s.Replace("/r/n", "");
return s;
}
#endregion
#region 替换HTML标签
///
/// 替换HTML标签
///

/// html源代码
///
public string RemoveHTML(string HtmlCode)
{
string MatchVale = HtmlCode;
foreach (Match s in Regex.Matches(HtmlCode, "<.+?>"))
{
MatchVale = MatchVale.Replace(s.Value, "");
}
return MatchVale;
}
#endregion
#region 匹配页面的链接
///
/// 获取页面的链接正则
///

///
///
public List GetHref(string HtmlCode)
{
List list = new List();
string Reg = @"(h|H)(r|R)(e|E)(f|F) *= *('|"")?((/w|//|//|/.|:|-|_)+)('|""| *|>)?";
foreach (Match m in Regex.Matches(HtmlCode, Reg))
{
list.Add((m.Value).ToLower().Replace("href=", "").Trim());
}
return list;
}
#endregion
#region 匹配页面的图片地址
///
/// 匹配页面的图片地址
///

///
/// 要补充的http://路径信息
///
public string GetImgSrc(string HtmlCode, string imgHttp)
{
string MatchVale = "";
string Reg = @"";
foreach (Match m in Regex.Matches(HtmlCode, Reg))
{
MatchVale += GetImg((m.Value).ToLower().Trim(), imgHttp) + "||";
}
return MatchVale;
}
///
/// 匹配中的图片路径实际链接
///

/// 字符串
///
public string GetImg(string ImgString, string imgHttp)
{
string MatchVale = "";
string Reg = @"src=.+/.(bmp|jpg|gif|png|)";
foreach (Match m in Regex.Matches(ImgString.ToLower(), Reg))
{
MatchVale += (m.Value).ToLower().Trim().Replace("src=", "");
}
return (imgHttp + MatchVale);
}
#endregion
#region 获得指定Html代码中所有超级连接的标题和连接地址
///
/// 获得指定Html代码中所有超级连接的标题和连接地址:测试有效 反回Dictionary key-标题value-地址
///

/// 需要匹配出超级连接的HTML代码
///
public Dictionary GetCodeHref(string HtmlCode)
{
Dictionary dic = new Dictionary();
//匹配指定HTML代码中所有的超级连接中的href 和超连接文字内容的正则 有时候需要根据实际情况做小调整如果标题中间有文字的话
string regex = @"/[^""]*)""|'(?[^']*)'|(?[^/>^/s]+)).*/>(?[^/<^/>]*)/<[^/</a/>]*/a/>";<br> Regex reg1 = new Regex(regex, RegexOptions.IgnoreCase);//创建正则表达式对象 <br> MatchCollection ms1 = reg1.Matches(HtmlCode);//根据正则表达式匹配出所有匹配项返匹配集合 <br> foreach (Match m1 in ms1)//迭代集合获得每个匹配项 <br> {<br>dic.Add(m1.Groups["title"].Value, m1.Groups["url"].Value);<br> }<br> return dic;<br> }<br> #endregion<br> #region 正则获得字符串中开始和结束字符串之间的值<br> /// <summary><br> /// 正则获得字符串中开始和结束字符串之间的值<br> /// </summary><br> /// <param name="str">字符串</param><br> /// <param name="s">开始</param><br> /// <param name="e">结束</param><br> /// <returns></returns> <br> public string GetRegValue(string str, string s, string e)<br> {<br> Regex rg = new Regex("(?<=(" + s + "))[.//s//S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singleline);<br> return rg.Match(str).Value;<br> }<br> /// <summary><br> /// 正则获得字符串中开始和结束字符串之间的值<br> /// </summary><br> /// <param name="str">字符串</param><br> /// <param name="s">开始</param><br> /// <param name="e">结束</param><br> /// <returns></returns><br> public List<string> GetRegValueArr(string str, string s, string e)<br> {<br> Match m;<br> List<string> list = new List<string>();<br> Regex rg = new Regex("(?<=(" + s + "))[.//s//S]*?(?=(" + e + "))", RegexOptions.Multiline | RegexOptions.Singleline);<br> for (m = rg.Match(str); m.Success; m = m.NextMatch())<br> {<br>list.Add(m.Groups[0].Value);<br> }<br> return list;<br> }<br> #endregion<br> #region 替换通过正则获取字符串所带的正则首尾匹配字符串<br> public string RegReplace(string RegValue, string regStart, string regEnd)<br> {<br> string s = RegValue;<br> if (RegValue != "" && RegValue != null)<br> {<br>if (regStart != "" && regStart != null)<br>{<br>s = s.Replace(regStart, "");<br>}<br>if (regEnd != "" && regEnd != null)<br>{<br>s = s.Replace(regEnd, "");<br>}<br> }<br> return s;<br> }<br> #endregion<br>}<br>}<div style="display:none">第七城市</div> </div> <div class="pagebreak pageBar tc mtb20"></div> <div class="mtb20 bgf"> <script> (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '1119915', container: s, size: '668,100', display: 'inlay-fix' }); })(); </script></div> <div class="mb20 newsBarLayout bgf"> <ul class="post-taglist clearfix mb5"><li class="tagh">热点聚合:<a href="http://www.th7.cn/e/tags/?tagname=C%23" target="_blank">C#</a> <a href="http://www.th7.cn/e/tags/?tagname=%E6%95%B0%E6%8D%AE%E9%87%87%E9%9B%86" target="_blank">数据采集</a> <a href="http://www.th7.cn/e/tags/?tagname=net" target="_blank">net</a> <a href="http://www.th7.cn/e/tags/?tagname=asp" target="_blank">asp</a></li></ul> </div> <div class="mb20 newsBarLayout bgf" id="xgxw"> <h3>相关文章</h3> <ul class="xgxwlist"> <li><a href="http://www.th7.cn/Program/net/201612/1061579.shtml" title="C# 用SoapUI调试WCF服务接口(WCF中包含用户名密码的验证)">C# 用SoapUI调试WCF服务接口(WCF中包含用户名密码的验</a></li><li><a href="http://www.th7.cn/Program/net/201612/1061578.shtml" title="C#发送邮箱">C#发送邮箱</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060975.shtml" title="用"hosting.json"配置ASP.NET Core站点的Hosting环境">用"hosting.json"配置ASP.NET Core站点的Hosting环境</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060973.shtml" title="用C#开发一个WinForm版的批量图片压缩工具">用C#开发一个WinForm版的批量图片压缩工具</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060967.shtml" title="asp.net读取Xml文件到DataSet,以及DataSet保存为Xml,利用自带的强大功能">asp.net读取Xml文件到DataSet,以及DataSet保存为Xml,利</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060963.shtml" title="asp.net上传execl文件后,在页面上加载显示。">asp.net上传execl文件后,在页面上加载显示。</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060960.shtml" title="asp.net 实现进度条 用来显示加载进度或程序处理进度">asp.net 实现进度条 用来显示加载进度或程序处理进度</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060958.shtml" title="Asp.net页面生存周期">Asp.net页面生存周期</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060955.shtml" title="asp.net导出数据到execl并保存到本地 不需要调用Office组件">asp.net导出数据到execl并保存到本地 不需要调用Offic</a></li><li><a href="http://www.th7.cn/Program/net/201612/1060953.shtml" title="利用asp.net自带邮件组件 发送邮件,支持126,163,gmail,qq等邮箱">利用asp.net自带邮件组件 发送邮件,支持126,163,gmail,</a></li></ul> </div> </div> <div class="mt20 bgf"> <div id="hm_t_70118"></div> </div> <div class="newsBarLayout mt20 bgf"><div id="cloud-tie-wrapper" class="cloud-tie-wrapper"></div></div> </div> <div class="newsBarLayout mt20 bgf"> <h3>最新文章</h3> <div class="slideImgList"> <div class="numberState"><span class="current">1</span><span>2</span><span>3</span> </div> <div class="imgListLayout"> <ul class="imgList clearfix"> <li> <p><a title="iOS基础——UI控件之UIView、UITextField、UILabel、UIColor、UIButton、UIImageView" href="http://www.th7.cn/Program/IOS/201702/1118824.shtml" target="_blank">iOS基础——UI控件之UIView</a></p> <p><a title="IOS 中的多线程网络(一)" href="http://www.th7.cn/Program/IOS/201702/1118822.shtml" target="_blank">IOS 中的多线程网络(一)</a></p> <p><a title="测试归档" href="http://www.th7.cn/Program/IOS/201702/1118815.shtml" target="_blank">测试归档</a></p> <p><a title="NSInternalInconsistencyException attempt to delete row 2 from section 4 which only contains 0 rows b" href="http://www.th7.cn/Program/IOS/201702/1118814.shtml" target="_blank">NSInternalInconsistencyExc</a></p> <p><a title="Go函数定义" href="http://www.th7.cn/Program/go/201702/1118813.shtml" target="_blank">Go函数定义</a></p> <p><a title="Go方法定义" href="http://www.th7.cn/Program/go/201702/1118812.shtml" target="_blank">Go方法定义</a></p> <p><a title="JavaScript 毒瘤和糟粕(需要注意的地方)" href="http://www.th7.cn/Program/java/201702/1118811.shtml" target="_blank">JavaScript 毒瘤和糟粕(需要</a></p> </li> <li> <p><a title="Photoshop给人像照片添加夕阳美景效果" href="http://www.th7.cn/pm/Photoshop/201702/84569.shtml" target="_blank">Photoshop给人像照片添加夕</a></p> <p><a title="Photoshop给模糊的人像转成唯美的手绘效果" href="http://www.th7.cn/pm/Photoshop/201702/84568.shtml" target="_blank">Photoshop给模糊的人像转成</a></p> <p><a title="Photoshop制作高大上的熔岩艺术字教程" href="http://www.th7.cn/pm/Photoshop/201702/84567.shtml" target="_blank">Photoshop制作高大上的熔岩</a></p> <p><a title="Photoshop绘制喜庆可爱的鸡年吉祥物" href="http://www.th7.cn/pm/Photoshop/201702/84566.shtml" target="_blank">Photoshop绘制喜庆可爱的鸡</a></p> <p><a title="Photoshop详解PPT制作必须懂的4个技巧" href="http://www.th7.cn/pm/Photoshop/201702/84565.shtml" target="_blank">Photoshop详解PPT制作必须懂</a></p> <p><a title="Photoshop详细解析渐变工具的使用方法" href="http://www.th7.cn/pm/Photoshop/201702/84564.shtml" target="_blank">Photoshop详细解析渐变工具</a></p> <p><a title="Illustrator绘制沙丘日月星辰的背景插画" href="http://www.th7.cn/pm/ai/201702/84563.shtml" target="_blank">Illustrator绘制沙丘日月星</a></p> </li> <li> <p><a title="给div命名,使逻辑更加清晰" href="http://www.th7.cn/web/html-css/201702/216234.shtml" target="_blank">给div命名,使逻辑更加清晰</a></p> <p><a title="使用<a>标签,连接到另外一个页面" href="http://www.th7.cn/web/html-css/201702/216233.shtml" target="_blank">使用<a>标签,连接到另外一个</a></p> <p><a title="消除HTML网页顶部的一行空白方法(火狐显示正常,谷歌head与body之间有未知代码)" href="http://www.th7.cn/web/html-css/201702/216232.shtml" target="_blank">消除HTML网页顶部的一行空白</a></p> <p><a title="HTML学习笔记(三)--框架/部分基础/实体" href="http://www.th7.cn/web/html-css/201702/216231.shtml" target="_blank">HTML学习笔记(三)--框架/部分</a></p> <p><a title="文本域,支持多行文本输入" href="http://www.th7.cn/web/html-css/201702/216230.shtml" target="_blank">文本域,支持多行文本输入</a></p> <p><a title="导航弹框、背景变色、鼠标移动切换等常见的js效果" href="http://www.th7.cn/web/html-css/201702/216229.shtml" target="_blank">导航弹框、背景变色、鼠标移</a></p> <p><a title="关于CSS中hover失效的几个原因" href="http://www.th7.cn/web/html-css/201702/216228.shtml" target="_blank">关于CSS中hover失效的几个原</a></p> </li> <li> <p><a title="保利拉菲" href="http://www.th7.cn/Design/room/201702/846131.shtml" target="_blank">保利拉菲</a></p> <p><a title="幸福时光" href="http://www.th7.cn/Design/room/201702/846130.shtml" target="_blank">幸福时光</a></p> <p><a title="华丽新古典" href="http://www.th7.cn/Design/room/201702/846129.shtml" target="_blank">华丽新古典</a></p> <p><a title="清新优雅苑" href="http://www.th7.cn/Design/room/201702/846128.shtml" target="_blank">清新优雅苑</a></p> <p><a title="日出印象" href="http://www.th7.cn/Design/room/201702/846125.shtml" target="_blank">日出印象</a></p> <p><a title="金科新大陆" href="http://www.th7.cn/Design/room/201702/846121.shtml" target="_blank">金科新大陆</a></p> <p><a title="90后女孩的梦想家" href="http://www.th7.cn/Design/room/201702/846120.shtml" target="_blank">90后女孩的梦想家</a></p> </li> <li> <p><a title="win10硬盘分区的方法" href="http://www.th7.cn/system/win/201702/205330.shtml" target="_blank">win10硬盘分区的方法</a></p> <p><a title="win10磁盘怎么进行分区" href="http://www.th7.cn/system/win/201702/205329.shtml" target="_blank">win10磁盘怎么进行分区</a></p> <p><a title="win8.1升级win10遇modern setup host停止工作的解决办法" href="http://www.th7.cn/system/win/201702/205328.shtml" target="_blank">win8.1升级win10遇modern se</a></p> <p><a title="win8系统电脑任务栏出现假死怎么解决" href="http://www.th7.cn/system/win/201702/205327.shtml" target="_blank">win8系统电脑任务栏出现假死</a></p> <p><a title="win8磁盘占用100的解决办法" href="http://www.th7.cn/system/win/201702/205326.shtml" target="_blank">win8磁盘占用100的解决办法</a></p> <p><a title="Win7系统如何解决IE浏览器总崩溃问题" href="http://www.th7.cn/system/win/201702/205325.shtml" target="_blank">Win7系统如何解决IE浏览器总</a></p> <p><a title="win7系统磁盘怎么修复" href="http://www.th7.cn/system/win/201702/205324.shtml" target="_blank">win7系统磁盘怎么修复</a></p> </li> <li> <p><a title="ppt怎么删除文本框" href="http://www.th7.cn/office/ppt/201702/57185.shtml" target="_blank">ppt怎么删除文本框</a></p> <p><a title="ppt存储主题的方法 ppt如何存储主题" href="http://www.th7.cn/office/ppt/201702/57184.shtml" target="_blank">ppt存储主题的方法 ppt如</a></p> <p><a title="如何用ppt编辑母版" href="http://www.th7.cn/office/ppt/201702/57183.shtml" target="_blank">如何用ppt编辑母版</a></p> <p><a title="wps怎样设置ppt背景音乐" href="http://www.th7.cn/office/wps/201702/57182.shtml" target="_blank">wps怎样设置ppt背景音乐</a></p> <p><a title="wps中怎么设置ppt特效" href="http://www.th7.cn/office/wps/201702/57181.shtml" target="_blank">wps中怎么设置ppt特效</a></p> <p><a title="ppt背景如何修改 PPT修改背景的方法" href="http://www.th7.cn/office/ppt/201702/57180.shtml" target="_blank">ppt背景如何修改 PPT修改</a></p> <p><a title="wps怎么保存ppt模板" href="http://www.th7.cn/office/wps/201702/57179.shtml" target="_blank">wps怎么保存ppt模板</a></p> </li> <li> <p><a title="高校云平台(十三):Redis服务器被劫持风波" href="http://www.th7.cn/db/nosql/201702/228266.shtml" target="_blank">高校云平台(十三):Redis服务器</a></p> <p><a title="使用Spring Session和Redis解决分布式Session跨域共享问题" href="http://www.th7.cn/db/nosql/201702/228265.shtml" target="_blank">使用Spring Session和Redis</a></p> <p><a title="学习Node.js+MongoDB+AngularJS(1)" href="http://www.th7.cn/db/nosql/201702/228264.shtml" target="_blank">学习Node.js+MongoDB+Angula</a></p> <p><a title="mongo笔记" href="http://www.th7.cn/db/nosql/201702/228263.shtml" target="_blank">mongo笔记</a></p> <p><a title="HBase源码之Compaction的文件筛选策略" href="http://www.th7.cn/db/nosql/201702/228260.shtml" target="_blank">HBase源码之Compaction的文</a></p> <p><a title="Lucene实践一:全文检索的基本原理" href="http://www.th7.cn/db/nosql/201702/228259.shtml" target="_blank">Lucene实践一:全文检索的基本</a></p> <p><a title="Lucene初探之数据格式详情(四)" href="http://www.th7.cn/db/nosql/201702/228258.shtml" target="_blank">Lucene初探之数据格式详情(</a></p> </li> <li> <p><a title="此后岁月 再多风景 少了你 不过尔尔" href="http://www.th7.cn/fzl/pic/201702/139405.shtml" target="_blank">此后岁月 再多风景 少了你 </a></p> <p><a title="吃饭要吃七分饱 爱人要用八分情" href="http://www.th7.cn/fzl/pic/201702/139404.shtml" target="_blank">吃饭要吃七分饱 爱人要用八</a></p> <p><a title="你应该幸福的 我就陪你到这里" href="http://www.th7.cn/fzl/pic/201702/139403.shtml" target="_blank">你应该幸福的 我就陪你到这</a></p> <p><a title="一世为期,与君共老。" href="http://www.th7.cn/fzl/pic/201702/139402.shtml" target="_blank">一世为期,与君共老。</a></p> <p><a title="情不知所起,一往而深。" href="http://www.th7.cn/fzl/pic/201702/139401.shtml" target="_blank">情不知所起,一往而深。</a></p> <p><a title="愿16岁的喜欢是60岁的爱" href="http://www.th7.cn/fzl/pic/201702/139400.shtml" target="_blank">愿16岁的喜欢是60岁的爱</a></p> <p><a title="纯真的萌娃情侣唯美图片" href="http://www.th7.cn/fzl/pic/201702/139399.shtml" target="_blank">纯真的萌娃情侣唯美图片</a></p> </li> <li> <p><a title="《阶级社会》简评:挖地竟能挖成首富?!" href="http://www.th7.cn/game/ios/201702/327959.shtml" target="_blank">《阶级社会》简评:挖地竟能挖</a></p> <p><a title="《少女前线》ssg69值得练吗?三月签到枪娘" href="http://www.th7.cn/game/ios/201702/327958.shtml" target="_blank">《少女前线》ssg69值得练吗?</a></p> <p><a title="《FateGo》黑贞、黑狗、奶光技能升级所需材料一览" href="http://www.th7.cn/game/ios/201702/327957.shtml" target="_blank">《FateGo》黑贞、黑狗、奶光</a></p> <p><a title="《刀剑乱舞》萌新应该练什么刀?新手锻刀公式推荐" href="http://www.th7.cn/game/ios/201702/327956.shtml" target="_blank">《刀剑乱舞》萌新应该练什么</a></p> <p><a title="《刀剑乱舞》远程兵带刀装搭配攻略" href="http://www.th7.cn/game/ios/201702/327955.shtml" target="_blank">《刀剑乱舞》远程兵带刀装搭</a></p> <p><a title="《崩坏3》如何才能最大化的利用水晶" href="http://www.th7.cn/game/ios/201702/327954.shtml" target="_blank">《崩坏3》如何才能最大化的</a></p> <p><a title="《阴阳师》N卡赤舌为什么出场率很高 赤舌全面解析" href="http://www.th7.cn/game/ios/201702/327953.shtml" target="_blank">《阴阳师》N卡赤舌为什么出</a></p> </li> </ul> </div> </div> </div> <script type="text/javascript"> var cpro_id = "u2861938"; </script> <script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/i.js"></script> <div class="newsBarLayout mt20 bgf" style="border:0px;"></div> </div> <div class="w300 fr"> <div> <script type="text/javascript">var cpro_id = "u654799";</script> <script src="http://cpro.baidustatic.com/cpro/ui/c.js" type="text/javascript"></script> </div> <div class="tabTitleBar mt20 bgf borderTred"> <div class="borderTnonee pb10"> <h3 class="titleMain2 titleMain-b red"><span class="txt pl10">本站导航</span></h3> <h2><a href="/pm/">平面设计</a></h2> <div> <a href="/pm/Photoshop/">Photoshop</a> <a href="/pm/ai/">Illustrator</a> <a href="/pm/Fireworks/">Fireworks</a> <a href="/pm/Coreldraw/">Coreldraw</a> <a href="/pm/max/">3DS MAX</a> <a href="/pm/cad/">AutoCAD</a> <a href="/pm/Maya/">Maya</a> </div> <h2><a href="/web/">网页设计</a></h2> <div> <a href="/web/dw/">Dreamweaver</a> <a href="/web/html-css/">HTML/CSS</a> <a href="/web/js/">JavaScript</a> <a href="/web/ajax/">Ajax</a> </div> <h2><a href="/Design/">设计赏析</a></h2> <div> <a href="/Design/pm/">平面设计作品</a> <a href="/Design/web/">网页设计欣赏</a> <a href="/Design/3d/">三维动画赏析</a> <a href="/Design/logo/">标志设计欣赏</a> <a href="/Design/pic/">插画设计作品</a> <a href="/Design/room/">建筑设计欣赏</a> <a href="/Design/vi/">VI设计欣赏</a><br/> <a href="/Design/ui/">UI设计欣赏</a> <a href="/design/photography/">摄影艺术</a> <a href="/design/idea/">设计理念</a> </div> <h2><a href="/Program/">网络编程</a></h2> <div> <a href="/Program/php/">PHP教程</a> <a href="/Program/java/">Java</a> <a href="/Program/net/">ASP.NET</a> <a href="/Program/SilverLight/">SilverLight</a> <a href="/Program/delphi/">Delphi</a> <a href="/Program/c/">C语言</a> <a href="/Program/cp/">C++</a> <a href="/Program/Python/">Python</a> <a href="/Program/Perl/">Perl</a> <a href="/Program/Ruby/">Ruby</a> <a href="/Program/WPF/">WPF</a> <a href="/Program/Android/">Android</a> <a href="/Program/wp7/">Windows Phone</a> <a href="/Program/IOS/">IOS</a> <a href="/Program/go/">Go语言</a> </div> <h2><a href="/system/">操作系统</a></h2> <div> <a href="/system/win/">Windows</a> <a href="/system/lin/">Linux</a> <a href="/system/mac/">macOS</a> </div> <h2><a href="/office/">办公软件</a></h2> <div> <a href="/office/word/">Word教程</a> <a href="/office/excel/">Excel教程</a> <a href="/office/ppt/">PowerPoint教程</a> <a href="/office/wps/">WPS Office</a> </div> <h2><a href="/db/">数据库</a></h2> <div> <a href="/db/mysql/">MySQL</a> <a href="/db/mssql/">SQL Server</a> <a href="/db/Oracle/">Oracle</a> <a href="/db/nosql/">NoSQL</a> </div> <h2><a href="/fzl/">非主流</a></h2> <div> <a href="/fzl/girl/">非主流美女</a> <a href="/fzl/boy/">非主流男生</a> <a href="/fzl/pic/">非主流图片</a> <a href="/fzl/clothes/">非主流服饰</a><br/> <a href="/fzl/sp/">非主流饰品</a> <a href="/fzl/st/">非主流闪图</a> </div> <h2><a href="/qq/">QQ专区</a></h2> <div> <a href="/qq/zone/">QQ空间</a> <a href="/qq/fz/">QQ分组</a> <a href="/qq/sc/">QQ素材</a> <a href="/qq/blog/">QQ日志</a> <a href="/qq/name/">QQ网名</a> <a href="/qq/sign/">QQ签名</a> </div> <h2><a href="/game/">游戏频道</a></h2> <div> <a href="/game/dj/">单机游戏</a> <a href="/game/wl/">网络游戏</a> <a href="/game/ios/">iOS游戏</a> </div> </div> </div> <div class="tabTitleBar imgTxtBar-c clearfix mt10"> <h3 class="titleMain clearfix"><span class="txt red">最新摄影</span></h3> <div class="imgTxtBar clearfix imgTxtBar-c mt10"> <a href="http://www.th7.cn/Design/photography/201701/839708.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/01/29/small619933c9eee0c4beea6da950d28688b21485674192.jpg" alt="简单5招拍好雪景人像" title="简单5招拍好雪景人像" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/843237.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/11/smallca03a712964de3e9bc6ef2a760e1f2371486788289.jpg" alt="初雪之日不必慌 教你拍雪景如何正确曝光" title="初雪之日不必慌 教你拍雪景如何正确曝光" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846080.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/small7bf1c4e96e2dd8f6914f9cb46474313c1487997611.jpg" alt="Jarrad Kevin:女人遭遇动物" title="Jarrad Kevin:女人遭遇动物" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846079.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/small17a07fc1ceb6982aa07e322c19ef84401487997609.jpg" alt="Angela Lumsden:纯真可爱的儿童时光" title="Angela Lumsden:纯真可爱的儿童时光" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846078.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/small9d4b519fd4c3d1fd401f1b5b3a3f94f71487997606.jpg" alt="充满想象力的风景摄影作品" title="充满想象力的风景摄影作品" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846077.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/small769d4263f491f3b6fd0828a574e8cf2f1487997602.jpg" alt="印尼女摄影师:撷取每一刻幸福瞬间" title="印尼女摄影师:撷取每一刻幸福瞬间" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846076.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/smalle3ab06759ecfca6bc9500febed84819b1487997599.jpg" alt="《Princess》复古时尚摄影" title="《Princess》复古时尚摄影" width="140" height="90"/></div></a> <a href="http://www.th7.cn/Design/photography/201702/846075.shtml" target="_blank" class="cursor w140 mb15 fl"> <div class="w140"><img src="http://th7.7-wx.com/d/file/p/2017/02/25/smallc868ff87f72d36d2bda6ba53b395df511487997596.jpg" alt="Dina Goldstein:玩具屋中" title="Dina Goldstein:玩具屋中" width="140" height="90"/></div></a> </div> </div> <div class="tabTitleBar tabSlideBar mb10 mt10"> <div class="tabState"></div> <h3 class="titleMain clearfix tabred"><span class="txt cur">最新教程</span><span class="txt">周点击榜</span></h3> <div class="newsRankBar clearfix"> <ul class="newsRankList current"> <li><em class="no1">1</em><a href="http://www.th7.cn/system/win/201702/205330.shtml" target="_blank" title="win10硬盘分区的方法">win10硬盘分区的方法</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/system/win/201702/205329.shtml" target="_blank" title="win10磁盘怎么进行分区">win10磁盘怎么进行分区</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/system/win/201702/205328.shtml" target="_blank" title="win8.1升级win10遇modern setup host停止工作的解决办法">win8.1升级win10遇modern setup host停止工作</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/system/win/201702/205327.shtml" target="_blank" title="win8系统电脑任务栏出现假死怎么解决">win8系统电脑任务栏出现假死怎么解决</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/system/win/201702/205326.shtml" target="_blank" title="win8磁盘占用100的解决办法">win8磁盘占用100的解决办法</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/system/win/201702/205325.shtml" target="_blank" title="Win7系统如何解决IE浏览器总崩溃问题">Win7系统如何解决IE浏览器总崩溃问题</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/system/win/201702/205324.shtml" target="_blank" title="win7系统磁盘怎么修复">win7系统磁盘怎么修复</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/system/win/201702/205323.shtml" target="_blank" title="Win7出现“502 bad gateway”怎么办">Win7出现“502 bad gateway”怎么办</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/system/win/201702/205322.shtml" target="_blank" title="win7系统invalid partition table出现错误怎么解决">win7系统invalid partition table出现错误怎</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/system/win/201702/205321.shtml" target="_blank" title="如何打开win7系统网页? win7系统网页打不开的解决办法">如何打开win7系统网页? win7系统网页打不开的</a></li> </ul> <ul class="newsRankList"> <li><em class="no1">1</em><a href="http://www.th7.cn/pm/Photoshop/201702/84546.shtml" target="_blank" title="PS合成灯泡中的垂钓者">PS合成灯泡中的垂钓者</a></li> <li><em class="no2">2</em><a href="http://www.th7.cn/pm/Photoshop/201702/84548.shtml" target="_blank" title="Photoshop怎样把人物图片转为暗黑风格转手绘效果">Photoshop怎样把人物图片转为暗黑风格转手绘</a></li> <li><em class="no3">3</em><a href="http://www.th7.cn/pm/Photoshop/201702/84543.shtml" target="_blank" title="Photoshop给芦苇中的人物加上漂亮的晨曦逆光">Photoshop给芦苇中的人物加上漂亮的晨曦逆光</a></li> <li><em class="no4">4</em><a href="http://www.th7.cn/pm/Photoshop/201702/84545.shtml" target="_blank" title="Photoshop打造唯美的金色草地人物图片">Photoshop打造唯美的金色草地人物图片</a></li> <li><em class="no5">5</em><a href="http://www.th7.cn/pm/Photoshop/201702/84549.shtml" target="_blank" title="Photoshop快速去除人物脸部的斑点和瑕疵">Photoshop快速去除人物脸部的斑点和瑕疵</a></li> <li><em class="no6">6</em><a href="http://www.th7.cn/pm/Photoshop/201702/84544.shtml" target="_blank" title="Photoshop制作漂亮的春季化妆品海报">Photoshop制作漂亮的春季化妆品海报</a></li> <li><em class="no7">7</em><a href="http://www.th7.cn/pm/Photoshop/201702/84550.shtml" target="_blank" title="Photoshop打造唯美的蓝色古装外景人物图片">Photoshop打造唯美的蓝色古装外景人物图片</a></li> <li><em class="no8">8</em><a href="http://www.th7.cn/pm/Photoshop/201702/84547.shtml" target="_blank" title="Photoshop制作漂亮的妇女节金色斑斓火焰字">Photoshop制作漂亮的妇女节金色斑斓火焰字</a></li> <li><em class="no9">9</em><a href="http://www.th7.cn/pm/Photoshop/201702/84568.shtml" target="_blank" title="Photoshop给模糊的人像转成唯美的手绘效果">Photoshop给模糊的人像转成唯美的手绘效果</a></li> <li><em class="no10">10</em><a href="http://www.th7.cn/pm/Photoshop/201702/84569.shtml" target="_blank" title="Photoshop给人像照片添加夕阳美景效果">Photoshop给人像照片添加夕阳美景效果</a></li> </ul> </div> </div> <div class="borderTred mt20"> <div id="hm_t_75055"></div> </div> <div class="mt20 newFixedBox"> <script type="text/javascript">var cpro_id = "u1065261";</script><script type="text/javascript" src="http://cpro.baidustatic.com/cpro/ui/c.js"></script> <script type="text/javascript">var jd_union_unid="34692",jd_ad_ids="513:6",jd_union_pid="CNerzbOOKxCEjwIaACDtmsGSAioA";var jd_width=300;var jd_height=250;var jd_union_euid="";var p="BhQDUhJSFAcXNwpfBkgyTUMIRmtKRk9aZV8ETVxNNwpfBkgyZA8Hfj5rS2pkCHksVksIUBRuJE1kcgtZK1wQBBIGUhNZJQAXAF0YayVdVloIKxB7AyJYEUYGJQIXDlUZWREDFQ5VGFwlAyI3ZQ%3D%3D";</script><script type="text/javascript" charset="utf-8" src="//u.x.jd.com/static/js/auto.js"></script> <script language="javascript" src="http://u493025.nr1234.com/mediashowFix.php?id=228371"></script> </div> </div> </div> </div> <div id="footer"> <div class="main"> <p> <a target="_blank" href="http://www.7-inc.com/about/" rel="nofollow">关于第七城市</a> - <a target="_blank" href="http://www.7-inc.com/contact/" rel="nofollow">联系我们</a> - <a target="_blank" href="http://www.th7.cn/e/tool/feedback/?bid=3" rel="nofollow">版权声明</a> - <a target="_blank" href="https://m.th7.cn/show/5/201612/1060970.html">手机版</a> </p> <p><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33030202000166" rel="nofollow"><img src="/images/beian-ga.png"> 浙公网安备 33030202000166号</a></p> <p>工信部备案号:<a target="_blank" href="http://www.miitbeian.gov.cn" rel="nofollow">浙ICP备09062716号-2</a></p> <p>©2005-2017 <a target="_blank" href="http://www.7-inc.com">温州第七城市信息科技有限公司</a> Inc. All Rights Reserved</p> </div> </div> <div class="gotop hide" id="gotop"><a href="javascript:;" class="th7-weixin"></a> <div class="th7-weixin-con hide"> <p class="th7-weixin-title">微信扫一扫</p> <div class="th7-weixin-pic"> <img src="http://th7.7-wx.com/sanda2015/img/weixin.jpg" alt="第七城市微信公众平台" width="100" height="100"></div> </div> <a href="/e/tool/feedback/?bid=1" target="_blank" class="feedback" rel="nofollow"></a><a href="javascript:;" class="go"></a> </div> <span id="tmpAreaLmtDiv"> <div style="z-index:1000;right:0px;bottom:0px;overflow-x: hidden;overflow-y:hidden;position:fixed;width:350px;height:238px;" id="PcPoPmarket"> <div id="popTop" style="z-index:1000;POSITION:absolute;right:0;height:30px;overflow:hidden;"> <span class="popBtn popClose" onclick="closeDiv()"></span> <span class="popBtn popShow" onclick="showDiv()" id="showvod" style="display: none;"></span> <span class="popBtn popHide" onclick="hideDiv()" id="hidevod" style="display: block;"></span></div> <iframe id="popFrame" scrolling="no" frameborder="0" width="350" allowtransparency="true" height="238" src="/poppage.html" target="_blank">-</iframe> </div> </span> <script> (function() { var s = "_" + Math.random().toString(36).slice(2); document.write('<div id="' + s + '"></div>'); (window.slotbydup=window.slotbydup || []).push({ id: '1112087', container: s, size: '120,270', display: 'inlay-fix' }); })(); </script> </div> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"1","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"24"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script> <script src="http://th7.7-wx.com/sanda2015/css/common.js" type="text/javascript"></script> <script src="http://th7.7-wx.com/sanda2015/css/ads.js"></script> <script> var isAdEnabled = isAdEnabled || !1; if( !isAdEnabled ){ $("body").prepend('<link rel="stylesheet" href="http://th7.7-wx.com/sanda2015/assistance/message.css" type="text/css" media="screen"/><div class="error message"><h3>帮助 第七城市 更好的生产内容,请将我们加入广告屏蔽插件的白名单,非常感谢。<a href="/sanda2015/assistance/Ask_for_your_assistance.html" target="_blank">具体方法</a></h3></div>'); $('.error').animate({top:"0"},500); $('.error').css('top',-500); var t1=setTimeout("$('.error').css('top',-500)",15000); $(document).ready(function(){ $('.message').click(function(){ $(this).animate({top: -$(this).outerHeight()},500); }); }); } $.get("http://www.th7.cn/e/public/ViewClick/?classid=5&id=1060970&addclick=1", function(result){ var arrtemp = result.split("'"); $("#click").append(arrtemp[1]); }); var cloudTieConfig = { url: document.location.href, sourceId: "51060970", productKey: "5ab8970ac6454c8584848b2244d1e241", target: "cloud-tie-wrapper" }; </script> <script src="https://img1.ws.126.net/f2e/tie/yun/sdk/loader.js"></script> </body> </html>