php - symfony crawler not work from this site -
i want data site symfony crawler not worked http://www.varzesh3.com/livescore/feed , string 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 guzzle php , pass body symfony crawler
Comments
Post a Comment