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

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -