我希望能够编写一个读取外部新闻网站的函数并返回目标页面的源代码.有什么想法和/或信息让我入手?
string GetOtherPage(System.Uri url)
{
return new System.Net.WebClient().DownloadString(url);
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
673 次 |
| 最近记录: |