title: Get div with class with Goutte
body: <p>I'm trying to get data from this <a href="http://sp.cadastrosindustriais.com.br/?consulta=cal%C3%A7ados" rel="nofollow">url</a> with <a href="https://github.com/FriendsOfPHP/Goutte" rel="nofollow">Goutte</a>
  But when I try to filter only the divs with class  "empresa", I get the entire page.
  How can I filter only the divs with a specific class?</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;body&gt;
          &lt;?php
  
          require __DIR__ . '/vendor/autoload.php';
          use Goutte\Client;
  
          $client = new Client();
          $crawler = $client-&gt;request('GET', 'http://sp.cadastrosindustriais.com.br/?consulta=cal%C3%A7ados');
  
          $crawler-&gt;filter('div[id="empresa"]')-&gt;each(function ($node) {
              print $node-&gt;text()."\n";
          });
  
  
          ?&gt;
  
  &lt;/body&gt;
  
  
  &lt;/html&gt;
  </code></pre>