获取网页内容具体用法,瞬间可以获取视频地址或者其它有规则内容
2009-04-15 11:51
399 查看
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="collecter.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="../Css/Global.css" rel="stylesheet" type="text/css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
ConStr = GetHttpPageUtf8("http://so.youku.com/search_video/q_%E5%AA%B3%E5%A6%87%E5%84%BF%E5%92%8C%E5%B0%91%E5%A5%B6%E5%A5%B6")
'ConStr = UrlEncoding(ConStr)
strValue = GetArray(ConStr,"<a href=""http://v.youku.com/v_show/id","</a>",true,true)
strArry = Split(strValue,"$Array$")
'response.Write(Lbound(strArry)&":"&Ubound(strArry))
j = 1
for i =0 to Ubound(strArry)
' response.Write(Len(strArry(i))&"<br>")
if Len(strArry(i)) <100 then
tempID = GetArray(strArry(i),"id_","=.html",false,false)
tempTitle = GetArray(strArry(i),"第","集",true,true)
tempStr = "<div class='makedsj'><a href='javascript:void(0)' onclick='playTarget("""&tempID&""",""youku"")'>"&tempTitle&"</a></div>"
response.Write(tempStr)
' j = j +1
end if
next
%>
</body>
</html>
<!--#include file="collecter.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link href="../Css/Global.css" rel="stylesheet" type="text/css" />
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
ConStr = GetHttpPageUtf8("http://so.youku.com/search_video/q_%E5%AA%B3%E5%A6%87%E5%84%BF%E5%92%8C%E5%B0%91%E5%A5%B6%E5%A5%B6")
'ConStr = UrlEncoding(ConStr)
strValue = GetArray(ConStr,"<a href=""http://v.youku.com/v_show/id","</a>",true,true)
strArry = Split(strValue,"$Array$")
'response.Write(Lbound(strArry)&":"&Ubound(strArry))
j = 1
for i =0 to Ubound(strArry)
' response.Write(Len(strArry(i))&"<br>")
if Len(strArry(i)) <100 then
tempID = GetArray(strArry(i),"id_","=.html",false,false)
tempTitle = GetArray(strArry(i),"第","集",true,true)
tempStr = "<div class='makedsj'><a href='javascript:void(0)' onclick='playTarget("""&tempID&""",""youku"")'>"&tempTitle&"</a></div>"
response.Write(tempStr)
' j = j +1
end if
next
%>
</body>
</html>
相关文章推荐
- 获取网页中的视频下载地址(利用proxy_server)
- 视频网站(网页)上获取视频源地址 详细过程
- iOS 基于JavaScriptCore 不等webView加载完毕就交互,网页获取原生内容。 webView的高级用法之JS交互,js与oc的相互调用
- 微信网页第三方登录原理 微信开放平台和公众平台的区别 1.公众平台面向的时普通的用户,比如自媒体和媒体,企业官方微信公众账号运营人员使用,当然你所在的团队或者公司有实力去开发一些内容,也可以调用公众
- 通过摄像机视频设备或者流媒体服务器SDK获取到数据转换成RTMP流实现网页/手机微信播放
- GO-读取网页内容(获取外网IP地址)
- php通过网页地址获取该地址下的内容
- 根据网页地址获取页面内容
- 利用htmpParser获取网页内容以及网页上的图片地址
- 通过摄像机视频设备或者流媒体服务器SDK获取到数据转换成RTMP流实现网页/手机微信播放
- C# get或者post获取网页内容
- 网页制作中规范使用DIV+CSS命名规则,可以改善优化功效特别是团队合作时候可以提供合作制作效率,具体DIV CSS命名规则CSS命名大全内容如下:
- js/jquery获取当前页面URL地址并判断URL字符串中是否包含某个具体值(获取URL的?或者#)
- 通过网页地址获取网站HTML内容
- HTML to Image in C#指定网页地址,获取内容为图片
- Hook或者API高手请进-跨进程获取其他程序的DBGrid内容(其它人做的程序)
- 通过<iframe>..........</iframe >来实现获取其它网页指定的内容。
- Android Webview无法播放美拍网或者优酷网视频,其他视频没问题解决办法。(网页可能暂时无法打开或已永久移至新地址)
- 获取网页中的视频下载地址(利用抓包)
- 微信网页中获取定位的具体地址