• 25-12-2022, 01:53:45
    #1
    Php ile bir bot yaptım yandexden görsel çekiyorum fakat bir süre sonra robot musunuz diye uyarı geliyor. Php ile yaptığım botta robot engelinden nasıl kaçarım. Curl ile yaptım proxy ayarlarını yapııyorum olmuyor?
  • 25-12-2022, 02:17:52
    #2
    Her işlemde ip değişerek
    her işlemde user agent değişerek
  • 25-12-2022, 02:24:29
    #3
    hocam değiştiriyorum fakat hiç sonuç alamadım sürekli beyaz sayfa dönüyor.

    kullandığı kodlar bunlar nerede yanlış yapıyorum?

    function chs(){
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, "https://www.ipsorgu.com/");
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST,true);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        //http://hidemyass.com/proxy-list/
        curl_setopt($ch, CURLOPT_PROXYPORT, '80');
        curl_setopt($ch, CURLOPT_USERAGENT, "bots");
        curl_setopt($ch, CURLOPT_PROXYTYPE, 'HTTP');
        curl_setopt($ch, CURLOPT_PROXY,'203.24.109.169  ');
        curl_setopt($ch, CURLOPT_PROXYUSERPWD,'');
         
        $output = curl_exec($ch);
        curl_close($ch);
        echo $output;
    }
    chs();