elboletaire/crawler

This package is abandoned and no longer maintained. No replacement package was suggested.

A simple crawler (spider) writen in php just for fun

dev-master 2017-09-21 21:42 UTC

This package is auto-updated.

Last update: 2024-09-08 07:08:17 UTC


README

A simple crawler (spider) writen in PHP.

Installation

composer require elboletaire/crawler:dev-master

Usage

<?php
// require 'vendor/autoload.php';

use Elboletaire\Crawler\Crawler;

try {
	$crawler = new Crawler('http://www.underave.net', 3, true);
	print_r($crawler->crawl());
} catch (Exception $e) {
	die($e->getMessage());
}

License

Author: Òscar Casajuana

http://www.gnu.org/copyleft/gpl.html