youTube.setKey(edited by moderator); youTube.search(Query, 50, function

so I develop an application that can extract information from youtube videos. To do this I work with an api of youtube, youtube-node, nodejs and express. My problem is that the api only allows to extract 50 result and I want to get more than 50. I want a maximum of results but I know how I can do it.

When I try by a result number greater than 50 example (500) I get the message: 'invalid value ‘500’. Values must be within the range :[0, 50]

THE API CODE THAT I USE IS THE FOLLOWING:  

youTube.setKey(edited by moderator);

  youTube.search(Query, 50, function(error, result) {



         if (error) {
               console.log(error);
                    }
         else {

          var convertedToJson = JSON.stringify(result, null, 10000)
          console.log(convertedToJson);

Hi Hsibm,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Cheers!

Hi @hsibm ,

You publicly posted your API key. Please revoke it immediately.

As for your question, here is your answer: https://stackoverflow.com/a/21944575 .