Skip to content

The spider/crawler, migrate tool framework written in PHP

License

Notifications You must be signed in to change notification settings

ramphor/rake-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rake PHP

The spider/crawler framework written in PHP

Example code

$rake  = new Rake( 'rake_id', new Your_DB_Driver(), new Your_HTTP_Client() );
$tooth = new Your_Tooth_Class( 'cp_products', $rake );
$feed  = new Sitemap( 'feed_id' );
$feed->setUrl('https://site_map_url.com');
$feed->setTooth( $tooth );

$tooth->registerProcessor( new Your_Processor() );
$tooth->setFormat( Tooth::FORMAT_HTML );
$tooth->addFeed( $feed );

$rake->addTooth( $tooth );
$rake->execute();

About

The spider/crawler, migrate tool framework written in PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages