I want to get data from this site but symfony crawler not worked for http://www.varzesh3.com/livescore/feed and the string does not gain
<?php
//echo __DIR__.'/vendor/autoload.php';
require_once __DIR__.'/vendor/autoload.php';
use Symfony\Component\DomCrawler\Crawler;
$html2 = file_get_contents('http://www.varzesh3.com/livescore/feed');
$crawler = new Crawler($html2);
$atc = $crawler->filter('.stage-wrapper')->each(function (Crawler $nodeCrawler)
{
var_dump($nodeCrawler->html());
echo "a";
});
I Solved it
get data by Guzzle php and then pass body to symfony crawler