library web-spider
Simple Website spider tools, to get all links on web pages
kadejayak/web-spider
Simple Website spider tools, to get all links on web pages
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Web Spider
This is simple website spider class written in PHP, it can be used to extract links from a website recursively., (*1)
Installation
Just download this class and include on your project.
or by using composer, (*2)
composer require kadekjayak/web-spider
Requirements
Example
the basic example to get all links from a website, (*3)
use Kadekjayak\WebSpider;
$Spider = new WebSpider();
$Links = $Spider->scrape('http://example.com', $depth = 2);
print_r($Links);
dev-master
9999999-dev
Simple Website spider tools, to get all links on web pages
Sources
Download