pose1233 hocam eski maçkolikten çekilebiliyor günlük olarak. Kod şu şekilde; Selecte seçili gün hangi maçlar gözüküyorsa lige göre sıralıyor.



function Connect($url){
$userAgent = 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_TIMEOUT, 0);
curl_setopt($curl, CURLOPT_HEADER, false);
curl_setopt($curl, CURLOPT_REFERER, 'https://www.google.com.tr/');
curl_setopt($curl, CURLOPT_USERAGENT, $userAgent);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
$data = curl_exec($curl);
curl_close($curl);
return $data;
}
$Source = Connect("http://arsiv.mackolik.com/iddaa-oyna");
preg_match_all('@

.*?

@si', $Source, $AllMatch);

for ($i=0; $i

$Match_Id_Bol1 = explode('(', $AllMatch[1][$i]);
$Match_Id = explode(')', $Match_Id_Bol1[1]);
echo $DetailLink = "http://arsiv.mackolik.com/Match/Default.aspx?id=".$Match_Id[0]."#mac-bilgisi
";

}