use youtube_secret instead of client_secret to allow more flexibility (possibility to use peertube_secret)

This commit is contained in:
victor héry 2018-02-28 11:49:26 +01:00
parent a5dc43654a
commit 54338a1c1c
3 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

@ -58,4 +58,5 @@ docs/_build/
target/
# Project
client_secret.json
youtube_secret.json
peertube_secret

View file

@ -33,7 +33,7 @@ RETRIABLE_EXCEPTIONS = (httplib2.HttpLib2Error, IOError, httplib.NotConnected,
RETRIABLE_STATUS_CODES = [500, 502, 503, 504]
CLIENT_SECRETS_FILE = 'client_secret.json'
CLIENT_SECRETS_FILE = 'youtube_secret.json'
SCOPES = ['https://www.googleapis.com/auth/youtube.upload']
API_SERVICE_NAME = 'youtube'
API_VERSION = 'v3'