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

How to access Youtube APIs from server

$
0
0

I'm building a yt summarizer app. So for that I'm using youtube-transcript-api & pytube, to get the transcript, or audio if the first is disabled. Worked fine on my Windows laptop. But on my Apache server running on Ubuntu, linux VM (DigitalOcean droplet), it isn't working at all. It says subtitles are disabled when it actually isn't, HTTP Error 400: Bad Request, "This request has been detected as a bot, please try again or log in to view".

What can I do to make it work?

No api-keys or creds are given in code at the moment, it directly worked locally.


Viewing all articles
Browse latest Browse all 3637

Trending Articles



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