paulomcnally/youtube-node

Video info Category

Opened this issue · 2 comments

var arama = function(){
     var youTube = new YouTube();
     youTube.setKey('key');
     youTube.search('search', 15, function(error, result) {
         if (error) {
             console.log(error);
         }
         else {
        Upload.cron();
             result.items.forEach(function(item) {
                 if(item.id.videoId){

                     videolar.push(item.id.videoId);
                    // rdown(item.id.videoId);
                 }

             })
             res.send(result);
           //  socket.emit('data',{action:'search',data:{ids:videolar}});


         }
     });

 }
   arama();

Whats its youre error?

no video info category