Parse a DOM with Goutte

Code
<?php

use Goutte\Client;
use 
Symfony\Component\DomCrawler\Link;

$client = new Client();

$crawler $client->request('GET''https://bing.com');

$links $crawler->filter('ul a')->links();

/** @var $link Link */
foreach ($links as $link) {
    
printf('<p>%s - <b>%s</b></p>'$link->getUri(), $link->getNode()->nodeValue);
}
Result

https://www.bing.com:443/?scope=web&FORM=Z9LH - Alle

https://www.bing.com:443/?scope=images&FORM=Z9LH1 - Bilder

https://www.bing.com:443/videos?FORM=Z9LH2 - Videos

https://www.bing.com:443/maps?FORM=Z9LH3 - Karten

https://www.bing.com:443/news?FORM=Z9LH4 - News

http://www.msn.com/de-de/?ocid=BHEA000 - MSN

https://www.office.com?WT.mc_id=O16_BingHP - Office Online

https://office.live.com/start/Word.aspx?WT.mc_id=O16_BingHP - Word Online

https://office.live.com/start/Excel.aspx?WT.mc_id=O16_BingHP - Excel Online

https://office.live.com/start/PowerPoint.aspx?WT.mc_id=O16_BingHP - PowerPoint Online

https://www.onenote.com/notebooks?WT.mc_id=O16_BingHP - OneNote Online

https://sway.office.com?WT.mc_id=O16_BingHP&utm_source=O16Bing&utm_medium=Nav&utm_campaign=HP - Sway

https://onedrive.live.com/?gologin=1&WT.mc_id=O16_BingHP - OneDrive

https://calendar.live.com/?WT.mc_id=O16_BingHP - Kalender

https://outlook.live.com/owa/?path=/people&WT.mc_id=O16_BingHP - Kontakte

https://outlook.com/?WT.mc_id=O16_BingHP?mkt=de-DE - Outlook.com

javascript:void(0) -

javascript:void(0) -

javascript:void(0) -

javascript:void(0) - Heutiges Bild herunterladen

Used Versions
PHP 7.3, Zend 3.0, Symfony 4.3, Laravel 5.8, PHPUnit 8.0, Doctrine 2.10