Change youtube secrets file path
This commit is contained in:
parent
fd65bf91a5
commit
120700eec3
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,7 +1,5 @@
|
||||
.idea/
|
||||
__pycache__/
|
||||
.python-version
|
||||
client_secrets_file.json
|
||||
token.json
|
||||
*.json
|
||||
playlists.csv
|
||||
db.json
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user