Liefert den HTMl-Quellcode einer Seite.
#Include <FF.au3>
_FFReadHTML([$sMode = "body"[, $iFilter = 0]])
Parameters
$sMode |
|
||||||||||||||
$iFilter |
|
Return Value
Success: | Returns innerHTML |
Failure: | Returns "" and sets @ERROR |
@ERROR: |
0 ($_FF_ERROR_Success) 1 ($_FF_ERROR_GeneralError) |
Remarks
Related
_FFReadText, _FFXPath
Example
#Include <FF.au3> If _FFStart("http://ff-au3-example.thorsten-willert.de/") Then $sHTML = _FFReadHTML() If Not @error Then MsgBox(64,"Sourcecode",StringLeft($sHTML,1000)) ; filtered source-code $sHTML = _FFReadHTML("html",7) If Not @error Then MsgBox(64,"Sourcecode",$sHTML) EndIf