dev/BotDomParser.php
public function parseBotNames() {
    $dom = $this->getDom('https://udger.com/resources/ua-list/crawlers');

    if (false === $dom) {
      throw new Exception("Fail to load bot list DOM.", E_WARNING);
    }

    $crawler = new Crawler();
    $crawler->addContent($dom);
    $crawler->filter('body #container table tr td > a')->each(function($node, $i) {
      $botName = $node->text();
      $this->addBotName($botName);
    });
  }
public function parseBotNames() {
    $dom = $this->getDom('https://udger.com/resources/ua-list/crawlers');

    if (false === $dom) {
      throw new Exception("Fail to load bot list DOM.", E_WARNING);
    }

    $crawler = new Crawler();
    $crawler->addContent($dom);
    $crawler->filter('body #container table tr td > a')->each(function($node, $i) {
      $botName = $node->text();
      $this->addBotName($botName);
    });
  }
Find bot names in the given DOM

@param  [type] $dom [description]
@return void