ORNEK 1 ---------------------------------------------------------------------------------------------------------------- load(curl_exec($curl)); curl_close($curl); ######################################################### $table = $dom->find('div',0); foreach ($table->find('a[data-url]') as $value) { //print_r($value->plaintext); $value->href; foreach ($value->find('img[class=rounded mr-4 self-start]') as $resim) { //$resim->src; } foreach ($value->find('div[class=description text-lg font-bold]') as $description) { //$description->innertext; } foreach ($value->find('h4[class=text-sm]') as $text) { //$text->innertext; } foreach ($value->find('div[class=flex flex-wrap py-2]') as $kalan) { //$kalan->plaintext; } foreach ($value->find('div[class=text-xs text-gray-600]') as $konum) { //$konum->innertext; } $ilanlar[]=[$value->href,$resim->src,$description->innertext,$text->innertext,$kalan->plaintext,$konum->innertext]; }?> $value) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }?>
Tanım Şirket Aranan Özellikler Başvur
{$value[2]}{$value[3]}{$value[4]}Başvur