How to use Youtube V3 API to download video directly using Python?

I am working on a web application that includes uploading videos to YouTube. I have a working version that first uploads the video to my server and then to YouTube.

While I was studying this, I found that you can immediately upload to YouTube instead of the first to my server. I believe this is known as browser-based download. However, this looks like a function only for API version 2, not for API version 3, since I did not find anything similar for API version 3. Is there a way to do this using the API version 3?

Thanks in advance for your help!

EDIT: I just wanted to clarify that I'm using Python. I found a JavaScript example ( https://code.google.com/p/youtube-api-samples/source/browse/yt-upload-javascript/index.js ) but nothing like Python.

+4
source share
2 answers

Here's a python sample to upload YouTube data Api v3 Upload https://github.com/youtube/api-samples/blob/master/python/upload_video.py

0
source

Source: https://habr.com/ru/post/1536841/


All Articles