A demo for youtube upload video through url, binary file can be used derectly.
For example:
./youtube -address=http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_1mb.mp4
Replace ClientSecrets to your own data.
For more information about the client_secrets.json file format, please visit:
https://developers.google.com/api-client-library/python/guide/aaa_client_secrets