Scan Http URLs from a url containing an HTML and get Json or Xml or Array.
Im not going to maintain this package, i didit just to learn how to create Composer Package.
Via Composer
$ composer require sohib/crawler
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
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.