Martin Taleski
Martin Taleski

Reputation: 6458

Upload video to youtube via URL with 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.

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?

Upvotes: 1

Views: 2071

Answers (1)

mjhm
mjhm

Reputation: 16705

Short answer: Not possible.

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.

Upvotes: 3

Related Questions