Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
432acb7475 |
@@ -28,6 +28,10 @@ class Crawler{
|
||||
$this->crawler->setCrawlProfile(new CrawlAllUrls());
|
||||
}
|
||||
|
||||
public function setUserAgent($agent){
|
||||
$this->crawler->setUserAgent($agent);
|
||||
}
|
||||
|
||||
public function crawl($url){
|
||||
$this->crawler->startCrawling($url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user