Witam, biblioteka PHP Simple HTML DOM Parser nie daje mi kodu ze <script> czy ktoś wie jaki atrybut należy użyć?
<?php
include_once('./parser/simple_html_dom.php');
$details = file_get_html("https://gratka.pl/nieruchomosci/dom-poznan-baranowo-ulica-sloneczna-smochowice-chyby-przezmierowo/oi/7809495");
$results = $details->find('script');
foreach($results as $res){
var_dump($res->plainText);
}
co daje string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) "" string(0) ""