(求助)如何查看CCTV网站可下载视频节目的网址。。。。

audio007 2009-11-28 10:16:57
RT,谢谢....
...全文
193 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
audio007 2009-11-29
  • 打赏
  • 举报
回复
谢谢楼上各位朋友的回复。。。
xupeihuagudulei 2009-11-28
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 net_lover 的回复:]
安装Firefox ,安装安装一个Live HTTP headers即可
[/Quote]呵呵,老大的方法就是简单。
孟子E章 2009-11-28
  • 打赏
  • 举报
回复
安装Firefox ,安装安装一个Live HTTP headers即可
wuyq11 2009-11-28
  • 打赏
  • 举报
回复
通过httpwebrequest抓取页面内容, 再获取链接地址
System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(url);
request.UserAgent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)";
System.Net.WebResponse response = request.GetResponse();
System.IO.Stream resStream = response.GetResponseStream();
System.IO.StreamReader sr = new System.IO.StreamReader(resStream, encoding);
string html = (sr.ReadToEnd());
resStream.Close();
sr.Close();
红街咖啡 2009-11-28
  • 打赏
  • 举报
回复
这个用编程的话抓取网页内容..

111,120

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧