Function Reference


_INetGetSource

Gets the source from an URL without writing a temp file

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

Parameters

$sURL (The URL of the site.) eg 'http://www.autoitscript.com'
$bString [optional] If True the data is returned in string format, otherwise binary format.

Return Value

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

Related

_IEDocReadHTML

Example

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