是否可以使用远程URL(不是从本地计算机)在youtube上上传视频.我正在为此使用Youtube API和python gdata工具.
Is it possible to upload a video on youtube with a remote URL (not from the local machine). I am using Youtube API and python gdata tools for this.
我在运行脚本的服务器上没有视频,我想将它们直接从远程URL上传到youtube,而不是先下载它们...您知道是否可以这样做?
I don't have the videos on the server where the script will run, and I want to upload them directly to youtube from a remote URL, instead of downloading them first... Do you know if this possible?
推荐答案简短答案:不可能.
长答案:视频只是数据文件.因此,问题就变成了:计算机A上的程序是否可以告诉服务器B使用标准的Internet通信将文件发送到服务器C? YouTube仅接受上传视频的POST请求,因此服务器B需要发送此请求.而且,您不能仅通过URL告诉服务器B做到这一点.
Long answer: Videos are just data files. So the question becomes: is it possible for a program on Computer A to tell Server B to send a file to Server C using standard internet communication? YouTube only accepts POST requests for uploading videos, so Server B would need to send this request. And you can't tell Server B to do this with just a URL.
更多推荐
使用python gdata通过URL将视频上传到youtube
发布评论