函数参考


_INetGetSource

获取 URL 源且不写临时文件.

#include <Inet.au3>
_INetGetSource($s_URL [, $bString = 'True'])

参数

$s_URL 网站的网址. 例如: 'http://www.autoitscript.com'
$bString [可选参数] 如果为 True,则返回数据的字符串格式,否则为二进制格式.

返回值

Success: The read string and sets @extended to the number of bytes returned.
Failure: An empty string and and sets @error to non-zero.

注意/说明

None.

相关

INetGet, InetRead, _IEDocReadHTML

示例/演示


#include <Inet.au3>
ConsoleWrite(_INetGetSource('http://www.autoitscript.com'))