sex123 发表于 2014-6-6 13:10:38

_WinHTTP_GetRespond支持密码代理吗?

本帖最后由 sex123 于 2014-6-6 13:12 编辑


#include "WinHTTP_GetRespond.au3"
#include <array.au3>
$sdcookie=IniRead("config.ini","settings","sdcookie","")
$moreheader = "User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0"
MsgBox(0,0,$sdcookie)
$rContext = _WinHTTP_GetRespond(-1, "http://www.sciencedirect.com/science/article/pii/S1366007109000503", 2, 50000, -1, $sdcookie, -1, "username:password@web2.ucsd.edu:3128")

If @error Then MsgBox(48, "Error", $rContext)

_ArrayDisplay($rContext)

MsgBox(0, "context0", $rContext)
FileWrite("sd.txt",$rContext)


为什么没有反应,直接下载了,不通过密码代理呢?
"username:password@web2.ucsd.edu:3128"
这个地方这么写有错吗?还是说这个udf本身不支持密码代理?
页: [1]
查看完整版本: _WinHTTP_GetRespond支持密码代理吗?