title: Imported module for python flask-based webapp asks for input from user
body: <p>I'm using the Spotipy module to code a web app to generate playlists. I'm running into a problem where spotipy prompts the user to enter a URL they're redirected to via terminal. Because the user only sees what flask displays, this is impossible and the app can't progress.</p>
  <p>Is there a way to code entering this input? It's going to be the same every time. These are the lines that are the problem. I've commented out some old stuff and am trying some new stuff but I don't think it'll work because I need to be able to create playlists</p>
  <pre><code>scope = &quot;playlist-modify-public&quot;
  redirect_uri = &quot;https://umatt.me/&quot;
  #manager = SpotifyOAuth(scope=scope, client_id=CLIENT_ID, client_secret=CLIENT_SECRET, redirect_uri=redirect_uri)
  #spotify = spotipy.Spotify(client_credentials_manager=manager)
  manager = SpotifyClientCredentials(client_id=CLIENT_ID, client_secret=CLIENT_SECRET)
  spotify = spotipy.Spotify(auth_manager=manager)
  </code></pre>
  <p>These are the lines that make me think this is the problem</p>
  <pre><code>Enter the URL you were redirected to: ['Island in The Sun', ' Ms. Jackson', &quot; Day 'N' Nite&quot;]
  Enter the URL you were redirected to: ['Island in The Sun', ' Ms. Jackson', &quot; Day 'N' Nite&quot;]
  Enter the URL you were redirected to: ['Island in The Sun', ' Ms. Jackson', &quot; Day 'N' Nite&quot;]
  Enter the URL you were redirected to: ['Island in The Sun', ' Ms. Jackson', &quot; Day 'N' Nite&quot;]
  </code></pre>