diff --git a/.gitignore b/.gitignore index bfaf759..5e4c57a 100644 --- a/.gitignore +++ b/.gitignore @@ -58,4 +58,5 @@ docs/_build/ target/ # Project -client_secret.json \ No newline at end of file +youtube_secret.json +peertube_secret \ No newline at end of file diff --git a/lib/yt_upload.py b/lib/yt_upload.py index 80eb16f..15c0978 100644 --- a/lib/yt_upload.py +++ b/lib/yt_upload.py @@ -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' diff --git a/client_secret.json.sample b/youtube_secret.json.sample similarity index 100% rename from client_secret.json.sample rename to youtube_secret.json.sample