mps-youtube / yewtube

yewtube, forked from mps-youtube , is a Terminal based YouTube player and downloader. No Youtube API key required.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hardcoded client_secret

firmianay opened this issue · comments

Hi, I see that client_secret is hardcoded into the program, not very sure if this can cause harm?

def generate_credentials():
    """Generate the token. Please respect these credentials :)"""
    credentials = oauth2.SpotifyClientCredentials(
        client_id='6451e12933bb49ed8543d41e3296a88d',
        client_secret='40ef54678fe441bd9acd66f5d5c34e69')
    return credentials

@ritiek are you sure you want to keep these api keys in the project code? Pls respond.
Closing issue for now,

@iamtalhaasghar I remember creating a new Spotify account only to generate these API keys, so it should be alright to continue using these. I don't remember the username password any more though, so you'll want to create a new account to get more control/see analytics.