dev/BotDomParser.php
public function parseBotUA($botName) {
    $dom = $this->getDom('https://udger.com/resources/ua-list/bot-detail?bot=' . $botName);

    if (false === $dom) {
      echo "Can not parse DOM" . PHP_EOL;
      return false;
    }

    $this->currentBotName = $botName;
    $crawlerBot = new Crawler();
    $crawlerBot->addContent($dom);
    $crawlerBot->filter('body #container table tr td > a')->each(function($el, $i) {
      if (strpos($el->attr('href'), '/resources/online-parser') !== false) {
        $botUA = $el->text();
        $this->addBotUA($botUA);
      }
    });

    return true;
  }
public function parseBotUA($botName) {
    $dom = $this->getDom('https://udger.com/resources/ua-list/bot-detail?bot=' . $botName);

    if (false === $dom) {
      echo "Can not parse DOM" . PHP_EOL;
      return false;
    }

    $this->currentBotName = $botName;
    $crawlerBot = new Crawler();
    $crawlerBot->addContent($dom);
    $crawlerBot->filter('body #container table tr td > a')->each(function($el, $i) {
      if (strpos($el->attr('href'), '/resources/online-parser') !== false) {
        $botUA = $el->text();
        $this->addBotUA($botUA);
      }
    });

    return true;
  }
Get useragents of the given bot

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