glomatico / spotify-web-downloader

A Python CLI app for downloading songs and music videos directly from Spotify.
433 stars 50 forks source link

Track/Album playable but not downloadable. #5

Closed geoplayx closed 1 year ago

geoplayx commented 1 year ago

Some tracks/albums can be played but i cannot download it.

https://open.spotify.com/album/27zEODZr1lHmrtaapO6r8r?si=A0MVG0F9TsiU06O4Tyngjw

Many tracks are not downloadable in this playlist but it can be played on my account.

https://open.spotify.com/playlist/5JOn3LSfpbCrOQ7azB4S6C?si=uqohs1GSTn6AID_da5pYZA

glomatico commented 1 year ago

Fixed. Package pybase62 should be updated to the last version:

pip install pybase62 --upgrade
geoplayx commented 1 year ago

Not all, try this link https://open.spotify.com/album/0WzPaJFRUSZXW9RdYsgr8v?si=CSwYsqFgTuOHHz34QdZBTg

glomatico commented 1 year ago

Try updating your pybase62 package

pip install pybase62 --upgrade
geoplayx commented 1 year ago

“Requirement already satisfied: pybase62 in /usr/local/lib/python3.10/dist-packages (1.0.0)”

And still cannot download that album. It’s playable in my account (premium).

glomatico commented 1 year ago

Send the output with --print-exceptions argument

geoplayx commented 1 year ago

Downloading "Way Back - Recorded at Spotify Studios NYC" (track 1/2 from URL 1/1) Failed to download "Way Back - Recorded at Spotify Studios NYC" (track 1/2 from URL 1/1) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/init.py", line 124, in main tags = dl.get_tags(metadata, unsynced_lyrics) File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/spotify_aac_downloader.py", line 166, in get_tags copyright = next(i['text'] for i in album['copyrights'] if i['type'] == 'P') StopIteration Downloading "Waterfalls - Recorded at Spotify Studios NYC" (track 2/2 from URL 1/1) Failed to download "Waterfalls - Recorded at Spotify Studios NYC" (track 2/2 from URL 1/1) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/init.py", line 124, in main tags = dl.get_tags(metadata, unsynced_lyrics) File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/spotify_aac_downloader.py", line 166, in get_tags copyright = next(i['text'] for i in album['copyrights'] if i['type'] == 'P') StopIteration Done (2 error(s))

glomatico commented 1 year ago

Downloading "Way Back - Recorded at Spotify Studios NYC" (track 1/2 from URL 1/1) Failed to download "Way Back - Recorded at Spotify Studios NYC" (track 1/2 from URL 1/1) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/init.py", line 124, in main tags = dl.get_tags(metadata, unsynced_lyrics) File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/spotify_aac_downloader.py", line 166, in get_tags copyright = next(i['text'] for i in album['copyrights'] if i['type'] == 'P') StopIteration Downloading "Waterfalls - Recorded at Spotify Studios NYC" (track 2/2 from URL 1/1) Failed to download "Waterfalls - Recorded at Spotify Studios NYC" (track 2/2 from URL 1/1) Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/init.py", line 124, in main tags = dl.get_tags(metadata, unsynced_lyrics) File "/usr/local/lib/python3.10/dist-packages/spotify_aac_downloader/spotify_aac_downloader.py", line 166, in get_tags copyright = next(i['text'] for i in album['copyrights'] if i['type'] == 'P') StopIteration Done (2 error(s))

Should be fixed on the new version.