2017 © Pedro Peláez
 

library web-spider

Simple Website spider tools, to get all links on web pages

image

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

The README.md

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

  • PHP curl

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);

The Versions

02/09 2016

dev-master

9999999-dev

Simple Website spider tools, to get all links on web pages

  Sources   Download