Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

How to reliably retrieve data for YouTube videos?

$
0
0

There are many apps such as OpusClip or VideoToBlog.ai that have to pull youtube videos info in order to provide their service.

My question is what do they use to reliably retrieve Youtube video data (such as transcript, title etc.)?

The official YouTube Data API clearly is not the way to go as it is very rate-limited.

I searched around and apparently what people normally use is youtubei.js or the InnerTube APIs.

I have integrated this in an app I am working on. However, it is very unstable! Every few days some parts of my app will break because I am missing some piece of YouTube video data that the API failed to retrieve.

Sometimes just by upgrading youtubei.js solves my issue. Sometimes the fix is more involved. For now I am stuck on making the app work because the API will not retrieve video data while all these other apps seem to be working fine.

I am wondering what is the best way to always reliably retrieve youtube video data? What do all these other apps use in order for their service to be un-interrupted? There must be a way. If it's not youtubei.js then what should it be? Or is there a specific way of using youtubei.js that I am just not following?

Thank you!


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>