mirror of
https://github.com/spotipy-dev/spotipy.git
synced 2026-04-27 08:35:49 +03:00
[GH-ISSUE #592] No longer fetching track preview URLs #353
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#353
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 @Babelfish112 on GitHub (Oct 22, 2020).
Original GitHub issue: https://github.com/spotipy-dev/spotipy/issues/592
Hello! I'd like to thank everyone who has worked on spotipy, it helped me get a personal application up and running quickly with a great Python library.
In the last day or two, something has broken the track "preview_url" from being returned as part of an album query.
Running:
results = sp.album(spotify:album:3obToaukLcPbCLPPmWFzQi)which is the album "[12:00]" by LOONA, I get the result (showing only the relevant parts for the first track):
As you can see, preview_url is None. I fetched this same album a couple of days ago and had the track data stored in my database, which gave the following data (I don't store all data fields):
You can see that this first album track with the same URI used to have a preview_url, which still works fine in a browser.
I have been running my Python scripts off a Raspberry Pi with spotipy version 2.12.0 for the last couple of years. Just wondering if anyone else has noticed this issue, and whether the issue can be replicated on newer versions of spotipy.
Thanks!
@Peter-Schorn commented on GitHub (Oct 22, 2020):
Try specifying a value for the market parameter when retrieving the album. See https://github.com/spotify/web-api/issues/148
@Peter-Schorn commented on GitHub (Oct 23, 2020):
preview URLs also don't seem to be returned when you use the Client Credentials Flow.
@Babelfish112 commented on GitHub (Oct 23, 2020):
Seems like this is working again without having to modify my app - something must have been broken temporarily. Thanks @Peter-Schorn for the suggestions!