Change youtube secrets file path
This commit is contained in:
1 parent
fd65bf91a5
commit
120700eec3
2 files changed
+2
-4
No files matched your search
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user