Exemplo n.º 1
0
 /**
  * To respond against any request we may need to prepare out data and check data integrity
  */
 protected function prepareData()
 {
     $Scraper = new Scraper();
     $data = $Scraper->scrapData($this->url);
     return $data;
 }
Exemplo n.º 2
0
<?php

include "library/Scraper.php";
$scraper = new Scraper();
$scrapData = $scraper->scrapData('http://www.dsebd.org');
var_dump($scrapData);