CloudFlareScraper
in package
Included for historical compatibility only. This API is out of support and should not be used in new code.
Table of Contents
Properties
- $cookieFile : mixed
- $lastURI : mixed
- $trySolving : mixed
Methods
- __construct() : mixed
- __serialize() : array<string|int, mixed>
- __unserialize() : mixed
- getFile() : mixed
- getXPath() : mixed
- _httpRequest() : mixed
- _isProtected() : mixed
- _loadXPath() : mixed
- _solveChallenge() : mixed
Properties
$cookieFile
protected
mixed
$cookieFile
$lastURI
protected
mixed
$lastURI
$trySolving
protected
mixed
$trySolving
Methods
__construct()
public
__construct([mixed $cookieFile = null ][, mixed $trySolving = true ]) : mixed
Parameters
- $cookieFile : mixed = null
- $trySolving : mixed = true
__serialize()
public
__serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>__unserialize()
public
__unserialize(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>
getFile()
public
getFile(mixed $uri) : mixed
Parameters
- $uri : mixed
getXPath()
public
getXPath(mixed $uri) : mixed
Parameters
- $uri : mixed
_httpRequest()
protected
_httpRequest(mixed $uri) : mixed
Parameters
- $uri : mixed
_isProtected()
protected
_isProtected(mixed $html) : mixed
Parameters
- $html : mixed
_loadXPath()
protected
_loadXPath(DOMDocument $doc) : mixed
Parameters
- $doc : DOMDocument
_solveChallenge()
protected
_solveChallenge(mixed $requestURI, DOMDocument $htmlDoc, mixed $html) : mixed
Parameters
- $requestURI : mixed
- $htmlDoc : DOMDocument
- $html : mixed