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];
}?>
|
Tanım |
Şirket |
Aranan Özellikler |
Başvur |
$value) {
echo "";
echo " | ";
echo "{$value[2]} | ";
echo "{$value[3]} | ";
echo "{$value[4]} | ";
echo "Başvur | ";
echo "
";
}?>