Skip to content

Sohib/Crawler

Repository files navigation

Crawler

Latest Version on Packagist Software License Total Downloads

Scan Http URLs from a url containing an HTML and get Json or Xml or Array.

Note

Im not going to maintain this package, i didit just to learn how to create Composer Package.

Install

Via Composer

$ composer require sohib/crawler

Usage

use Sohib\Crawler;



$urls = [
    "http://thatsthefinger.com/",
    "http://just-shower-thoughts.tumblr.com/",
    "http://ducksarethebest.com/",
];

$crowler  = new Crawler\Scanner($urls);
$scanner = $crowler->scan();
var_dump($scanner->toArray()); // return urls as array
var_dump($scanner->toJson());  // return urls as json
var_dump($scanner->toXml()); // return urls as Xml

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages