mirror of
https://git.lecygnenoir.info/LecygneNoir/prismedia.git
synced 2025-10-03 17:39:16 +02:00
use youtube_secret instead of client_secret to allow more flexibility (possibility to use peertube_secret)
This commit is contained in:
parent
a5dc43654a
commit
54338a1c1c
3 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -58,4 +58,5 @@ docs/_build/
|
||||||
target/
|
target/
|
||||||
|
|
||||||
# Project
|
# Project
|
||||||
client_secret.json
|
youtube_secret.json
|
||||||
|
peertube_secret
|
|
@ -33,7 +33,7 @@ RETRIABLE_EXCEPTIONS = (httplib2.HttpLib2Error, IOError, httplib.NotConnected,
|
||||||
RETRIABLE_STATUS_CODES = [500, 502, 503, 504]
|
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']
|
SCOPES = ['https://www.googleapis.com/auth/youtube.upload']
|
||||||
API_SERVICE_NAME = 'youtube'
|
API_SERVICE_NAME = 'youtube'
|
||||||
API_VERSION = 'v3'
|
API_VERSION = 'v3'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue