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

Youtube python api working on localhost but not in cloud

$
0
0

Youtube python api is working on my localhost but not in my cloud server (Vercel). I am trying to download youtube captions. I have also tried the google youtube APIs in javascript with the same result. In both cases, the cloud server says: 'Could not retrieve a transcript for the video ... This is most likely caused by: Subtitles are disabled for this video.' I am wondering how the youtube server knows whether the caption request is coming from localhost versus a cloud server. Is there a way to trick the youtube server to think the request is coming from localhost? Or is there another way to fix this issue?


Viewing all articles
Browse latest Browse all 3831

Trending Articles



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