Well, the name says it all: Scraper
scrapes the entire internet. It tries to index all possible links between sites
and all pages there are on the internet.
$settings = []; $scraper = new \Scraper\Scraper($settings); $scraper->run();
The following settings are possible:
database
engine
: Currently onlyMySQL
is allowedusername
: MySQL usernamepassword
: MySQL passworddatabase
: MySQL databasehost
: MySQL host
requester
type
: Allowed types:TOR
andcURL
forceNewIdentity
: When using TOR you can force a new identity when you made a request
logger
: Allowed values:NoLogger
andStdOut
$settings = [ 'database' => [ 'engine' => \Scraper\Database\MySQL::getName(), 'username' => 'USERNAME', 'password' => 'PASSWORD', 'database' => 'DATABASE', 'host' => '127.0.0.1' ], 'requester' => [ 'type' => \Scraper\Requester\Tor::getName(), 'forceNewIdentity' => true, ], 'logger' => \Scraper\Logger\StdOut::getName() ];