mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 00:25:54 +03:00
[GH-ISSUE #502] Acquiring token but running endlessly on Colab #299
Labels
No labels
api-bug
bug
dependencies
documentation
duplicate
enhancement
external-ide
headless-mode
implicit-grant-flow
invalid
missing-endpoint
pr-welcome
private-api
pull-request
question
spotipy3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotipy#299
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @QAQOAO on GitHub (May 28, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/502
I use the code below to acquire token on Google Colab.
username = 'username..'
clientID = 'id...'
clientSecret = 'secret..'
redirectURL = 'http://localhost:8888/'
token = spotipy.util.prompt_for_user_token(username, client_id=clientID, client_secret=clientSecret, redirect_uri=redirectURL)
When I execute the code, that cell just running for very long time but still not opening a page
It worked fine several months ago, but what happened?
@stephanebruckert commented on GitHub (May 30, 2020):
Can Google Colab open URL and expect an answer? Are you sure this was possible before? Any chance you can try with a previous version and let us know:
@stephanebruckert commented on GitHub (Jun 30, 2020):
@QAQOAO is this still blocking you?
@stephanebruckert commented on GitHub (Oct 7, 2020):
This is what you need https://github.com/plamere/spotipy/blob/master/FAQ.md#how-do-i-obtain-authorization-in-a-headlessbrowserless-environment