• 10-04-2008, 22:36:08
    #1
    Dün akşamdan beri youtube botlu video scriptim çalışmamaya başladı. bi arkadaşa daha sordum onun botunda da bi sorun varmış. Başka sorun yaşayan var mı
  • 10-04-2008, 22:38:29
    #2
    Eposta Aktivasyonu Gerekmekte
    lokalde çalışıyormu denedinmi?
  • 10-04-2008, 22:39:29
    #3
    hayır denemedim
  • 10-04-2008, 22:41:33
    #4
    Eposta Aktivasyonu Gerekmekte
    bir dene bence, eğer hala sıkıntı çekiyorsan yada hata alıyorsan onu bildir ki çözüm varsa yardımcı olunsun
  • 10-04-2008, 22:44:34
    #5
    php ile yazılmış script

     //Check for an error and die if it finds one.
            if (!empty($this->parsed_response['ut_response']['error']) && $this->die_on_error) {
                die("Sorry this video has been deleted");
            } elseif (!empty($this->parsed_response['ut_response']['error'])) {
                $this->error_code = $this->parsed_response['ut_response']['error']['code'];
                $this->error_msg = "The Youtube API returned error code #" . $this->parsed_response['ut_response']['error']['code'] . ": " . $this->parsed_response['ut_response']['error']['description'];
                return false;
            } else {
                $this->error_code = false;
                $this->error_msg = false;
            }
            
            return $this->parsed_response['ut_response'];
        }
        
        function setService($service)
        {
            // Sets which service to connect to.  Currently supported service is
            // "youtube"
            if (strtolower($service) == "youtube") {
                $this->service = "youtube";
                $this->REST = 'http://www.youtube.com/api2_rest';
            } else {
                die ("You have entered a service that does not exist or is not supported at this time.");
            }
        }
        
        function setProxy($server, $port) 
        {
            // Sets the proxy for all phpYoutube calls.
            $this->req->setProxy($server, $port);
        }
        
        function useSAXY($useIt = true) {
            $this->xml_parser->useSAXY($useIt);
        }
        
        function getErrorCode() 
        {
            // Returns the error code of the last call.  If the last call did not
            // return an error. This will return a false boolean.
            return $this->error_code;
        }
        
        function getErrorMsg() 
        {
            // Returns the error message of the last call.  If the last call did not
            // return an error. This will return a false boolean.
            return $this->error_msg;
        }
    Sorry this video has been deleted hatasını veriyor
  • 10-04-2008, 22:47:36
    #6
    Eposta Aktivasyonu Gerekmekte
    hangi video da onu yapıyor
    yoksa genel olarak mı o hatayı veriyor.
    php ci değilim ama kodlara bakarak orada uzaktaki bilgiyi parse edip veritabanına aktarmaya yarayan kodlar var, yani botun kodları sanırım. ve bağlantıdan yada baaşka bir sebepten dolayı ya video linkleri artık yok yada youtube a bağlantı sorunu yaşıyorsun, belkide yotube yeniden kaaptıldı bilemiyorum q
  • 10-04-2008, 22:48:39
    #7
    genel bir sorun. normalde o hatayı youtube'ta silinen videolar da veriyordu
  • 10-04-2008, 22:50:27
    #8
    Eposta Aktivasyonu Gerekmekte
    sunucu seninmi? birde bulunduğun makinede youtube açılıyormu?
    yani scripti denediğin makinede?
    eğer açılıyorsa kodlarla ilgili sorun var demektir
  • 10-04-2008, 22:55:10
    #9
    bunu söylediğin iyi oldu. bir tane daha youtube botlu script vardı o da çalışmıyor. acaba tek be de mi sorun var. diğer youtube botlu scripti olanlar varsa bakabilirler mi bi sorun mu var diye