Lordbey adlı üyeden alıntı: mesajı görüntüle
ben söylim orası çok sıkıntı veri çektik biz boş geldi bazen doluyor bi saçma yapısı var
şimdi size nasıl yaptınız desem söylezsiniz sadece merak ettiğim proxy kullandınız mı? aşağıdaki kod yapısı parse işlemleri doğrumu sizce? galiba https://d.canliskor3.com/x/feed/r_1_1 bu adresten alınıyor maçlar
ama
referer:
https://d.canliskor3.com/x/feed/proxy-local adresi kafamı karıştırdı
<?php 
ini_set('max_execution_time', 300);
function Baglan($url){
  $headers = [
':authority:d.canliskor3.com',
':method:GET',
':path:/x/feed/r_1_1',
':scheme:https',
'accept:*/*',
'accept-encoding:gzip, deflate, br',
'accept-language:*',
'cookie:_ga=GA1.2.380630312.1516893848; _gid=GA1.2.1554605323.1518265179; _dc_gtm_UA-821699-12=1',
'referer:https://d.canliskor3.com/x/feed/proxy-local',
'user-agent:Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Mobile Safari/537.36',
'x-fsign:SW9D1eZo',
'x-referer:https://www.canliskor3.com/',
'x-requested-with:XMLHttpRequest'
  ];
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL, $url);
  curl_setopt($ch, CURLOPT_ENCODING , "gzip");
  curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
 curl_setopt($ch, CURLOPT_TIMEOUT, 0);
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5000);
 curl_setopt($ch,CURLOPT_PROXY,'113.20.141.52:8080');
  //curl_setopt($ch,CURLOPT_PROXY,'181.215.98.250:8080');
  //curl_setopt($ch,CURLOPT_PROXY,'93.177.134.113:8080');
  $cikti = curl_exec ($ch);
  curl_close ($ch);
  //return $cikti;
  return str_replace(array("\n","\t","\r"), null, $cikti);
}
    
    
    $Baglan = Baglan("https://d.canliskor3.com/x/feed/f_1_0_3_tr_1"); 
        
        
        echo  $Baglan;
?>