function __construct($url) { parent::__construct(); parent::loadPage($url); $this->nomi = array(); $this->siti = array(); }
function __construct($url) { parent::__construct(); parent::loadPage($url); $this->url = $url; $this->title = $this->year = $this->doi = $this->abstract = $this->to_clean = ""; $this->authors = array(); $this->again = true; }
function __construct($url, $twitter = null) { parent::__construct($url); $this->twitter = $twitter; $this->title = $this->crawler->filter('title')->first()->text(); $this->rss = $this->crawler->filter('link[type="application/rss+xml"]')->first()->attr('href'); if ($twitter) { $twitterInfo = new twitterAccountScraper($twitter); $this->description = $twitterInfo->description(); $this->image = $twitterInfo->profilePic(); } }
public function __construct() { parent::__construct(); $this->setCategoryId(36); }