[GH-ISSUE #6] Issue with track list when a track has multiple artists #60

Closed
opened 2026-03-13 22:57:00 +03:00 by kerem · 3 comments
Owner

Originally created by @akashilangovan on GitHub (May 14, 2021).
Original GitHub issue: https://github.com/AliAkhtari78/SpotifyScraper/issues/6

Artists, album names, and track names get mixed up when there are more than one artist.

Originally created by @akashilangovan on GitHub (May 14, 2021). Original GitHub issue: https://github.com/AliAkhtari78/SpotifyScraper/issues/6 Artists, album names, and track names get mixed up when there are more than one artist.
kerem 2026-03-13 22:57:00 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (May 24, 2025):

This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
Thank you for your contributions.

<!-- gh-comment-id:2906077296 --> @github-actions[bot] commented on GitHub (May 24, 2025): This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Author
Owner

@AliAkhtari78 commented on GitHub (May 25, 2025):

Thank you for reporting this issue. This has been fixed in version 2.0.0 with improved data parsing.

The new version properly handles tracks with multiple artists:

from spotify_scraper import SpotifyClient

client = SpotifyClient()
track = client.get_track_info('https://open.spotify.com/track/...')

# Artists are now properly returned as a list
for artist in track['artists']:
    print(f"Artist: {artist['name']}")

# Album information is separate
print(f"Album: {track['album']['name']}")
print(f"Track: {track['name']}")

The data structure ensures clear separation between:

  • Track name
  • Artists (as a list)
  • Album information

Please update to the latest version and let me know if you still experience any issues.

<!-- gh-comment-id:2907733792 --> @AliAkhtari78 commented on GitHub (May 25, 2025): Thank you for reporting this issue. This has been fixed in version 2.0.0 with improved data parsing. The new version properly handles tracks with multiple artists: ```python from spotify_scraper import SpotifyClient client = SpotifyClient() track = client.get_track_info('https://open.spotify.com/track/...') # Artists are now properly returned as a list for artist in track['artists']: print(f"Artist: {artist['name']}") # Album information is separate print(f"Album: {track['album']['name']}") print(f"Track: {track['name']}") ``` The data structure ensures clear separation between: - Track name - Artists (as a list) - Album information Please update to the latest version and let me know if you still experience any issues.
Author
Owner

@AliAkhtari78 commented on GitHub (May 25, 2025):

Closing as this has been resolved in v2.0.0 with the new data parsing structure. If you encounter any issues with the new version, please feel free to open a new issue with specific examples.

<!-- gh-comment-id:2907733882 --> @AliAkhtari78 commented on GitHub (May 25, 2025): Closing as this has been resolved in v2.0.0 with the new data parsing structure. If you encounter any issues with the new version, please feel free to open a new issue with specific examples.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotifyScraper#60
No description provided.