示例#1
0
文件: RobotsTxt.php 项目: unl/Spider
 public function __construct(Iterator $iterator, $options = array())
 {
     $this->downloader = new Spider_Downloader();
     $this->options = $options;
     //Don't throw exceptions on 404 robots.txt
     $this->options['crawl_404_pages'] = true;
     parent::__construct($iterator);
 }
示例#2
0
 public function __construct(Iterator $iterator, $options = array())
 {
     $this->options = $options;
     parent::__construct($iterator);
 }
示例#3
0
文件: External.php 项目: unl/Spider
 public function __construct(Iterator $iterator, $baseuri)
 {
     $this->baseuri = $baseuri;
     parent::__construct($iterator);
 }