 <p>When a user makes a request using Goutte, a <code>Symfony\Component\DomCrawler</code> instance is returned. The Crawler object provides the <a href="http://symfony.com/doc/current/components/dom_crawler.html#links" rel="nofollow">Crawler::links()</a> utility method, providing all links within the given crawler object.</p> <p>The <code>Crawler::links()</code> method will return an array of links found within.</p> <pre><code>$links = $crawler-&gt;links(); foreach ($links as $link) { echo $link-&gt;getUri(); } </code></pre>