本帖最后由 bdancerlc 于 2012-4-11 00:11 编辑 #include "inc\WinHttp_GetRespond.au3"
$Url = 'http://roll.news.qq.com/interface/roll.php?0.14013234259959173&cata=&site=news&date=&page=1&mode=1&of=json'
$Header = "Referer: http://roll.news.qq.com" & @CRLF & _
'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' & @CRLF
$MyOpen = _WinHttpOpen()
$rContext = _WinHTTP_GetRespond($MyOpen, $Url, 2,2000,-1,-1,$Header)
_WinHttpCloseHandle($MyOpen)
ConsoleWrite($rContext[0])
这个UDF 楼主 没有的话,搜索一下就知道了!... |