|
@@ -86,10 +86,19 @@ $ export https_proxy=http://user:password@host:port
|
|
|
$ youtube-upload ....
|
|
|
```
|
|
|
|
|
|
-Caveats
|
|
|
-=======
|
|
|
+Authentication
|
|
|
+==============
|
|
|
+
|
|
|
+The package includes a default ```client_secrets.json``` file. If you plan to make a heavy use of the script, please [create and use your own OAuth 2.0 file](https://developers.google.com/youtube/registering_an_application), it's a free service. Steps:
|
|
|
|
|
|
-* The package includes a default ```client_secrets.json``` file. If you plan to make a heavy use of the script, please [create and use your own OAuth 2.0 file](https://developers.google.com/youtube/registering_an_application), it's a free service.
|
|
|
+* Go to the Google [https://console.developers.google.com/](console).
|
|
|
+* _Create project_.
|
|
|
+* Side menu: _APIs & auth_ -> _APIs_
|
|
|
+* Top menu: _Enabled API(s)_: Enable all Youtube APIs.
|
|
|
+* Side menu: _APIs & auth_ -> _Credentials_.
|
|
|
+* _Create new Client ID_: Application type: _Installed application_ + _Other_
|
|
|
+* _Download JSON_: save the file to your local system.
|
|
|
+* Use the saved JSON as your credentials file: ```--credentials-file=CREDENTIALS_FILE```
|
|
|
|
|
|
Notes for developers
|
|
|
====================
|