mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #951] Is it possible to get the track or playlist id from a mobile share link (https://spotify.link/)? #573
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#573
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 @SoHectic on GitHub (Mar 18, 2023).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/951
I am using Spotipy to get the track and artist names from either a track or playlist link but I am unsure how to get them if provided a share link generated from mobile since it is not the same as if you generate a share link from desktop. I have tried to just strip the characters after the "link/" part of the mobile share link but that doesn't seem to work.
@stephanebruckert commented on GitHub (Mar 19, 2023):
Not python related, question for https://community.spotify.com/
@SoHectic commented on GitHub (Mar 19, 2023):
I don't see how this isnt python related, I am literally trying to get the track or playlist ID from a mobile share link with python and I am wondering if its possible to do through python or not.
@stephanebruckert commented on GitHub (Mar 19, 2023):
Well you are more asking "Can the Spotify API do that?". I don't think it does but I recommend making sure about it by asking in the appropriate place.
Anyway one idea for you could be to query that spotify.link and see if it redirects to an open.spotify.com URL which would likely contain an ID. Still, this is not something spotipy can handle for you.