A
A
Anton2015-01-27 14:18:29
Google
Anton, 2015-01-27 14:18:29

Can't upload video to youtube using upload_video.py script. What did you do wrong?

Studied https://developers.google.com/youtube/v3/guides/up...
Created client_secrets.json and upload_video.py
Contents of client_secrets.json
pastebin.com/NGc3Dtyp
Keys and other data in client_secrets.json replaced)
In Google Developers Console in Client ID for web application is specified:

CLIENT ID ...
EMAIL ADDRESS ...
CLIENT SECRET ...
REDIRECT URIS none
JAVASCRIPT ORIGINS none

I call the python script upload_video.py --file=video.mp4
And it produces:
WARNING: Please configure OAuth 2.0
To make this sample run you will need to populate the client_secrets.json file
found at:
/home/user/client_secrets.json
with information from the APIs Console
https://code.google.com/apis/ console#access
For more information about the client_secrets.json file format, please visit:
https://developers.google.com/api-client-library/p...

How to upload to Youtube using the upload_video.py script? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
egorsmkv, 2015-02-07
Patsev @chemtech

The library, in my opinion, is old and there may have been changes on the server side. I recommend to go through all the download calls, maybe somewhere something is not working correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question