-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Playlist scraping outputs an error even if the playlist metadata is correctly output to the json file.
To Reproduce
Simply follow the CLI instructions in README.md
> spotify-scraper playlist https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M --output playlist.json
2026-01-29 09:08:03 - spotify_scraper.client - INFO - SpotifyClient initialized
Extracting playlist information...
2026-01-29 09:08:03 - spotify_scraper.client - INFO - Getting playlist info for https://open.spotify.com/playlist/37i9dQZF1DXcBWIGoYBM5M
✓ Success: Playlist information saved to playlist.json
✗ Error: Unexpected error: 'list' object has no attribute 'get'Expected behavior
Shouldn't print '✗ Error: Unexpected error: 'list' object has no attribute 'get''
Actual behavior
prints '✗ Error: Unexpected error: 'list' object has no attribute 'get''
Error messages
✗ Error: Unexpected error: 'list' object has no attribute 'get'
Environment:
- OS: Ubuntu 24.04.3 LTS
- Python version: 3.12.3
- SpotifyScraper version: 2.1.5
- Installation method: pipx install spotifyscraper
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working