Re: [問題] 网站測試程序
如果网站的內容都是框架還可以嗎?
因為我剛才發現用LWP:Simple get不到登陸的頁面卻顯示
以下的內容:
</html>
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>WXC</title>
</head>
<frameset rows="0,*" framespacing="0" border="0" frameborder="0">
<frame name="header" scrolling="no" noresize target="downMain" src="./wxc2
_omc/security/login/select.php?PHPSESSID=2cf0e12e3c14f49a4fea98f398658284">
<frame name="downMain" src="./wxc2_omc/security/login/login.php?PHPSESSID=
2cf0e12e3c14f49a4fea98f398658284">
<noframes>
<body>
<p>此网頁使用了框架,但您的瀏覽器不支持框架。</p>
</body>
</noframes>
</frameset>
</html>
※ 引述《warhua (華麗的黑色)》之銘言:
: 目前我在寫一段程序 用于測試网頁中鏈接是否有效
: 向各位請教一下
: 我打算這樣做,
: 得到网站的index頁面,再根据此頁面所用的連接不斷的檢測
: 還有就是這個网站需要驗証用戶,LWP模塊好象有提供cookie功能,
: 不知道是否可行,謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 202.134.119.18
※ 編輯: warhua 來自: 202.134.119.18 (08/05 17:56)
討論串 (同標題文章)
Perl 近期熱門文章
PTT數位生活區 即時熱門文章