From 120700eec3c07bc9a3463dd4e3eae10fb5fc693f Mon Sep 17 00:00:00 2001 From: Maks Snegov Date: Mon, 14 Oct 2024 22:38:13 -0700 Subject: [PATCH] Change youtube secrets file path --- .gitignore | 4 +--- robocyp.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 1ecc479..3fe6b9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,5 @@ .idea/ __pycache__/ .python-version -client_secrets_file.json -token.json +*.json playlists.csv -db.json diff --git a/robocyp.py b/robocyp.py index 70220da..acc1794 100755 --- a/robocyp.py +++ b/robocyp.py @@ -34,7 +34,7 @@ def _truncate_title(title: str, length: int = 30) -> str: def get_yt_creds(): """ Get YouTube API credentials """ creds = None - client_secrets_file = os.path.join(program_dir, "client_secrets_file.json") + client_secrets_file = os.path.join(program_dir, "secrets_python.json") scopes = ["https://www.googleapis.com/auth/youtube.force-ssl"] # The file token.json stores the user's access and refresh tokens, and is