找回密码
 加入
搜索
查看: 2024|回复: 2

[系统综合] https上网页获取失败!-_INetGetSource

[复制链接]
发表于 2011-3-22 21:14:52 | 显示全部楼层 |阅读模式
https上网页获取失败!-_INetGetSource
如下所示,获取失败,请各位多指教。
$Source = _INetGetSource('https://forum.eviloctal.com/')
MsgBox(0,"演示:","内容是:"&$Source)
Func _INetGetSource($s_URL, $bString = True)
        Local $sString = InetRead($s_URL, 1)
        Local $nError = @error, $nExtended = @extended
        If $bString Then $sString = BinaryToString($sString)
        Return SetError($nError, $nExtended, $sString)
EndFunc   ;==>_INetGetSource
发表于 2011-3-23 01:09:43 | 显示全部楼层
http就能访问的网页干嘛要https呢?
 楼主| 发表于 2011-3-23 07:45:16 | 显示全部楼层
http就能访问的网页干嘛要https呢?
justwait 发表于 2011-3-23 01:09


是因为人家因安全用https。我现在有合法的用户名及密码,也登录成功了,我想_INetGetSource('https://forum.eviloctal.com/')下来,做点自动化的东东。。。。

我尝试改:Local $sString = InetRead($s_URL, 1)
1 为3 依然不成功: Local $sString = InetRead($s_URL, 3)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-21 10:52 , Processed in 0.076113 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表