How to use remote file URL's with MediaFileUpload from Google Python Youtube API -
when invoke mediafileupload in python (apiclient.http) google api:
media_body=mediafileupload(options.file, chunksize=-1, resumable=true)
it works local file on drive:
options.file = "/www/var/videos/video.mp4"
but when try use remote file lets on cdn amazon - fails.
options.file = "http://xxx-website-us-west-2.amazonaws.com/video.mp4"
is there option use mediafileupload remote files havent found without having pull remote file down , uploaded via google api , delete it?
Comments
Post a Comment