spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.47k stars 1.6k forks source link

playlist not downloading #1499

Closed Skeleneon closed 2 years ago

Skeleneon commented 2 years ago

System Operating System (OS)

Windows

Python Version

3.9 (CPython)

Install Source

GitHub

Install version / commit hash

v3.8.0

Expected Behavior vs Actual Behavior

No response

Steps to reproduce

C:\Users\aryan>spotdl https://open.spotify.com/playlist/2lcqwlxg7Kk0CITQ2o6Niw?si=f02fe998e44a43d9 Fetching Playlist... Gathering Spotify Metadata for: https://open.spotify.com/track/4h7CVH9xtHoYSlEV5Dpamk Found YouTube URL for "Jeremy Zucker - 18" : https://www.youtube.com/watch?v=EO76T6r3fqc Gathering Spotify Metadata for: https://open.spotify.com/track/2D2lazsae9o1UoVPUAdxyT Found YouTube URL for "Gracie Abrams - 21" : https://www.youtube.com/watch?v=ge6hWtFgiHM

C:\Users\aryan>spotdl https://open.spotify.com/playlist/2lcqwlxg7Kk0CITQ2o6Niw?si=e51966e19fa54c4a Fetching Playlist... Gathering Spotify Metadata for: https://open.spotify.com/track/2D2lazsae9o1UoVPUAdxyT Skipping "Gracie Abrams - 21" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/38Lzl3hFC8AmlcpnIAfBps Skipping "salem ilese - About a Breakup" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/4h7CVH9xtHoYSlEV5Dpamk Skipping "Jeremy Zucker - 18" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/5GxUKIEkMXXZo1Tif0IzfC Skipping "BoyWithUke - Two Moons" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/2Ouu07dJ1tUavnkARWsdJ9 Skipping "BoyWithUke - Out of Tune" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/0jcPxc7Fme2oYb2MfFkOy6 Skipping "BoyWithUke - Loafers" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/1zS5TccQwMDp5ZsEnt4FAh Skipping "BoyWithUke - LoveSick" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/2jDrRaea7deXVEt4JmpvBU Skipping "BoyWithUke - Long Drives" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/2gQPv5jvVPqU2a9HhMNO1v Skipping "BoyWithUke - Toxic" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/4eR7fBrx4LCeaZ5JY4DUAJ Skipping "salem ilese - Coke & Mentos" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/0ZgmsMHgr3S58oCGm7NwJC Found YouTube URL for "salem ilese - Mad at Disney" : https://www.youtube.com/watch?v=xQGEOsCzFJU Gathering Spotify Metadata for: https://open.spotify.com/track/2NLm8X629OHiAkhHHSVsQB Skipping "salem ilese - Hey Siri" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/3rQIk9F5TNBXLy4BIwIcWe Skipping "salem ilese - Ben & Jerry" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/1v5kaAA3u8rsqTiDbGdFHB Skipping "salem ilese - Dinosaurs (S4E7)" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/6LA7WgwRca4bYg7Ip50dqN Found YouTube URL for "salem ilese, TOMORROW X TOGETHER, Alan Walker - PS5 (with TOMORROW X TOGETHER & Alan Walker)" : https://www.youtube.com/watch?v=2GUAHntkK6A Gathering Spotify Metadata for: https://open.spotify.com/track/6Jrdb6CFOJEGaHjaa6c4WR Skipping "BoyWithUke - IDGAF (with blackbear)" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/6fGSHpEipD1YjtLLChnBzW Skipping "Gracie Abrams - Friend" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/5IyuGEmlFsnp1TN1M9OSd8 Skipping "Gracie Abrams - Mean It" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/5ODexgRxCHuaNvturtkZ6b Skipping "Montana Kek - Fortnite Battle Pass Song" as it's already downloaded Gathering Spotify Metadata for: https://open.spotify.com/track/64lsIF5pw0sJY0gV5kz0RN Found YouTube URL for "Dayglow - Can I Call You Tonight?" : https://www.youtube.com/watch?v=n-IwmbARwBo Gathering Spotify Metadata for: https://open.spotify.com/track/6F5mZpEEjhsAW8UEqbIpz1 Found YouTube URL for "beabadoobee - Tired" : https://www.youtube.com/watch?v=UVSMynIkx1w Gathering Spotify Metadata for: https://open.spotify.com/track/429NtPmr12aypzFH3FkN9l Found YouTube URL for "beabadoobee - Coffee" : https://www.youtube.com/watch?v=rx4h6CkJgbc Gathering Spotify Metadata for: https://open.spotify.com/track/7qwt4xUIqQWCu1DJf96g2k Found YouTube URL for "Clairo, Rejjie Snow - Hello?" : https://www.youtube.com/watch?v=QkeehQ8D_VM Gathering Spotify Metadata for: https://open.spotify.com/track/79EkGysjP2dL5GdpeQjRxT Found YouTube URL for "Coyote Theory - This Side of Paradise" : https://www.youtube.com/watch?v=sniVezVELSM Gathering Spotify Metadata for: https://open.spotify.com/track/7B3z0ySL9Rr0XvZEAjWZzM Found YouTube URL for "Clairo - Sofia" : https://www.youtube.com/watch?v=rO3gFl32JeE Gathering Spotify Metadata for: https://open.spotify.com/track/2F1qP6hBiaBeHjwDtBdVPP Found YouTube URL for "LLusion, Savage Ga$p, Salina Killa, Valentine - Some Type of Way (feat. Savage Ga$p, Salina Killa & Valentine)" : https://www.youtube.com/watch?v=O34yQBu-m1c Gathering Spotify Metadata for: https://open.spotify.com/track/47Bg6IrMed1GPbxRgwH2aC Found YouTube URL for "Rex Orange County - Best Friend" : https://www.youtube.com/watch?v=9HRZ99B8p54 Gathering Spotify Metadata for: https://open.spotify.com/track/0QzuaeCEEOV40Pn7IvKEny Found YouTube URL for "dhruv - double take" : https://www.youtube.com/watch?v=IYOfGK5Zos4 Gathering Spotify Metadata for: https://open.spotify.com/track/0sHFw13WH3LtSB3yP8UMYJ Found YouTube URL for "Peachy!, mxmtoon - Falling for U" : https://www.youtube.com/watch?v=3x6Dk42ndGM Gathering Spotify Metadata for: https://open.spotify.com/track/4ZtFanR9U6ndgddUvNcjcG Found YouTube URL for "Olivia Rodrigo - good 4 u" : https://www.youtube.com/watch?v=Bc9ijogGmtU Gathering Spotify Metadata for: https://open.spotify.com/track/1bBdCpscIPk8tuG8zaQcCk Found YouTube URL for "Faster - Diamonds I'm Searching for You" : https://www.youtube.com/watch?v=5odtUrOUWJo Gathering Spotify Metadata for: https://open.spotify.com/track/59CfNbkERJ3NoTXDvoURjj Found YouTube URL for "Dove Cameron - Boyfriend" : https://www.youtube.com/watch?v=Ryg4YV4LmtY Gathering Spotify Metadata for: https://open.spotify.com/track/4IhKLu7Vk3j2TLmnFPl6To Found YouTube URL for "Alec Benjamin - Water Fountain" : https://www.youtube.com/watch?v=WmKCEszv34A Gathering Spotify Metadata for: https://open.spotify.com/track/2pGPbxBbDVu9pRvW9Ax7h8 Found YouTube URL for "Rick and Morty, Mark Mallman, Ryan Elder - Flowers (feat. Ryan Elder & Mark Mallman) [From Rick and Morty: Season 5]" : https://www.youtube.com/watch?v=t-7AP7lqWZs Gathering Spotify Metadata for: https://open.spotify.com/track/0d3icYgiUESKP94WjnoMfj Found YouTube URL for "Rick and Morty, Ryan Elder - Losing a Friend (feat. Ryan Elder) [From Rick and Morty: Season 4]" : https://www.youtube.com/watch?v=RRk39ET65G8 Gathering Spotify Metadata for: https://open.spotify.com/track/4dUJl3Dnrh3igJTtSkxpuK Found YouTube URL for "Rick and Morty, Ryan Elder - Snake Jazz (feat. Ryan Elder) [From Rick and Morty: Season 4]" : https://www.youtube.com/watch?v=ZS65JCjTgRc Gathering Spotify Metadata for: https://open.spotify.com/track/1Y6Pxm8LFw1zJBc3ZW3Stt HTTP Error for GET to https://api.spotify.com/v1/tracks/1Y6Pxm8LFw1zJBc3ZW3Stt with Params: {'market': None} returned 404 due to None Gathering Spotify Metadata for: https://open.spotify.com/track/3dqnlkbZWanKq4TfDDRk5A Found YouTube URL for "Rick and Morty, Ryan Elder, Thomas Edinger - The Battle of Blood Ridge (feat. Thomas Edinger & Ryan Elder) [From Rick and Morty: Season 5]" : https://www.youtube.com/watch?v=whi7WrLR1Eg Gathering Spotify Metadata for: https://open.spotify.com/track/4lcM7UhovQcCa9efiHgPU7 Found YouTube URL for "Rick and Morty, Jemaine Clement, Ryan Elder - Goodbye Moonmen" : https://www.youtube.com/watch?v=AlN7Gmr_D4A Gathering Spotify Metadata for: https://open.spotify.com/track/1EISpHrGu1GGP8XndYvutD Found YouTube URL for "Rick and Morty, Justin Roiland, Ryan Elder - Get Schwifty (C-131)" : https://www.youtube.com/watch?v=s9uBj_QCo3E Gathering Spotify Metadata for: https://open.spotify.com/track/7M4cYcqV4ETiCKWGKHAUAH Found YouTube URL for "Rick and Morty, Justin Roiland, Lauren Hillman, Ryan Elder - The Rick Dance" : https://www.youtube.com/watch?v=9C2duZ0OvH4 Gathering Spotify Metadata for: https://open.spotify.com/track/1VbiENVGHwF5Y70Ywotwe1 Found YouTube URL for "Rick and Morty, Kotomi, Ryan Elder - Don't Look Back (feat. Kotomi & Ryan Elder) [From Rick and Morty: Season 4]" : https://www.youtube.com/watch?v=CX6nfvhSWTI Gathering Spotify Metadata for: https://open.spotify.com/track/5mWhjV2dmNV39duAptKiQO Found YouTube URL for "Alley - Darkside" : https://www.youtube.com/watch?v=cZ8OJ1Cl-DY Gathering Spotify Metadata for: https://open.spotify.com/track/3wQfhzlcmowfnMWGeq8Jld Found YouTube URL for "Carneyval, Liza - Consistency" : https://www.youtube.com/watch?v=m1Wl7szCg6U Gathering Spotify Metadata for: https://open.spotify.com/track/6TFGNgCyhgHKNn046iG6fa Found YouTube URL for "Wolfmother - Victorious" : https://www.youtube.com/watch?v=W1fkc7q4BRE Gathering Spotify Metadata for: https://open.spotify.com/track/3EV2dBelFXJsqVnNpz9vTd Found YouTube URL for "Ryan Mack - Guess That's Love" : https://www.youtube.com/watch?v=GmGmPLQWgJI Gathering Spotify Metadata for: https://open.spotify.com/track/7FDOvWnP5R0x7VM2hxSax6 Found YouTube URL for "Angus & Julia Stone - In My Arms" : https://www.youtube.com/watch?v=HrD8uQDkUts Gathering Spotify Metadata for: https://open.spotify.com/track/0mCirNmtptFCjPNL6oA1Ys Found YouTube URL for "Tones And I - You Don't Know My Name" : https://www.youtube.com/watch?v=SkIWxwsSH3s Gathering Spotify Metadata for: https://open.spotify.com/track/0mA7zotmg2ZFMRALljdZsS Found YouTube URL for "Tones And I - Cloudy Day" : https://www.youtube.com/watch?v=fWVM1j3b8EA Gathering Spotify Metadata for: https://open.spotify.com/track/2VR5wnBlptEmZlFfmLg5P4 Found YouTube URL for "Tones And I - Just A Mess" : https://www.youtube.com/watch?v=S8CY5oMUSaA Gathering Spotify Metadata for: https://open.spotify.com/track/2zBDKzqa6sdxeI0fC6OWIC Found YouTube URL for "Tones And I - Fly Away" : https://www.youtube.com/watch?v=V079tOEj7gM Gathering Spotify Metadata for: https://open.spotify.com/track/20Kdm8OXGXXqv4XEgYx2Xg Found YouTube URL for "Tones And I - Westside Lobby" : https://www.youtube.com/watch?v=2qpwX1tI9Jk Gathering Spotify Metadata for: https://open.spotify.com/track/3ue3K9od4bFh51mzONLAiC Found YouTube URL for "Tones And I - Welcome To The Madhouse" : https://www.youtube.com/watch?v=UakmbIHIMD0 Gathering Spotify Metadata for: https://open.spotify.com/track/1fl2pEDROb4TFyqQtV6LBL Found YouTube URL for "yaeow - don't give up" : https://www.youtube.com/watch?v=d9pyvI4EPHY Gathering Spotify Metadata for: https://open.spotify.com/track/77EM9jnZUvPdPeLrAA1eOt Found YouTube URL for "Day by Dave - Kermit" : https://www.youtube.com/watch?v=sslCFWZ-_g8 Gathering Spotify Metadata for: https://open.spotify.com/track/75L81Y6P7PhWmHSPW5CfR1 Found YouTube URL for "Orb Roybison - Don't Wanna Be Alone" : https://www.youtube.com/watch?v=poRFX7B4U0A Gathering Spotify Metadata for: https://open.spotify.com/track/2W4yABdLc4Jnds67Poi5Nl Found YouTube URL for "Ant Saunders - Yellow Hearts" : https://www.youtube.com/watch?v=yz7yU3f8Qt8 Gathering Spotify Metadata for: https://open.spotify.com/track/4LaXv6ilq82AfWKEKUiyEG Found YouTube URL for "Low Roar - Hummingbird" : https://www.youtube.com/watch?v=QzvAsHF0W-c Gathering Spotify Metadata for: https://open.spotify.com/track/7y6NbGuLZuNW0lVaPnYx22 Found YouTube URL for "Toby Fox, Laura Shigihara - Don't Forget" : https://www.youtube.com/watch?v=YLeid-bIRQA Gathering Spotify Metadata for: https://open.spotify.com/track/4WLRTCiJFqK3ojwkPOueH3 Found YouTube URL for "Robert Grace, Garrett Nash - Fake Fine (feat. gnash)" : https://www.youtube.com/watch?v=2YVYh4A2j_g Gathering Spotify Metadata for: https://open.spotify.com/track/5srKMwXoeyrRnyTnNbpgIW Found YouTube URL for "UPSAHL - People I Don't Like" : https://www.youtube.com/watch?v=Ebt1a6akKQE Gathering Spotify Metadata for: https://open.spotify.com/track/4cHKd6qPMR1TMx55KHlida Found YouTube URL for "The Rare Occasions - Notion" : https://www.youtube.com/watch?v=3vEiqil5d3Q Gathering Spotify Metadata for: https://open.spotify.com/track/0u4rkpmNtgcFxYHepnVF4v Found YouTube URL for "Novo Amor - Carry You" : https://www.youtube.com/watch?v=oHQSV0sU224 Gathering Spotify Metadata for: https://open.spotify.com/track/6RUKPb4LETWmmr3iAEQktW HTTP Error for GET to https://api.spotify.com/v1/albums/4JPguzRps3kuWDD5GS6oXr with Params: {} returned 404 due to None Gathering Spotify Metadata for: https://open.spotify.com/track/1YrgbwVse66pH7ysXLlgO8 Found YouTube URL for "Abigail Barlow - Heartbreak Hotel" : https://www.youtube.com/watch?v=m6TeMnHCqcg Gathering Spotify Metadata for: https://open.spotify.com/track/44wBlg3Y1KSAEmaze5BXe7 Found YouTube URL for "Wilbur Soot - I'm in Love With an E-Girl" : https://www.youtube.com/watch?v=dWhUdQyBn5w Gathering Spotify Metadata for: https://open.spotify.com/track/4c5cUeKXDWCUBYNIw8Ivxy Found YouTube URL for "adam&steve, Maty Noyes - wherever you are" : https://www.youtube.com/watch?v=dg1I7X-HcGY Gathering Spotify Metadata for: https://open.spotify.com/track/7JJmb5XwzOO8jgpou264Ml Found YouTube URL for "Shawn Mendes - There's Nothing Holdin' Me Back" : https://www.youtube.com/watch?v=Ztdc7TcPdAA Gathering Spotify Metadata for: https://open.spotify.com/track/7pT6WSg4PCt4mr5ZFyUfsF Found YouTube URL for "Alec Benjamin - If We Have Each Other" : https://www.youtube.com/watch?v=iSaw6_lWRS4 Gathering Spotify Metadata for: https://open.spotify.com/track/0Ryd8975WihbObpp5cPW1t Found YouTube URL for "Ariana Grande, Social House - boyfriend (with Social House)" : https://www.youtube.com/watch?v=AredfAhnpOM

Traceback

Traceback (most recent call last):
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotipy\client.py", line 245, in _internal_call
    response.raise_for_status()
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\requests\models.py", line 953, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.spotify.com/v1/tracks/1Y6Pxm8LFw1zJBc3ZW3Stt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\Scripts\spotdl.exe\__main__.py", line 7, in <module>
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\console\__init__.py", line 81, in console_entry_point
    song_list = parse_query(
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\parsers\query_parser.py", line 23, in parse_query
    parse_request(request, format, use_youtube, generate_m3u, threads)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\parsers\query_parser.py", line 79, in parse_request
    song_list = song_gatherer.from_playlist(
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\search\song_gatherer.py", line 347, in from_playlist
    for result in results:
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 608, in result_iterator
    yield fs.pop().result()
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 438, in result
    return self.__get_result()
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\_base.py", line 390, in __get_result
    raise self._exception
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\search\song_gatherer.py", line 296, in get_song
    song = from_spotify_url(
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\search\song_gatherer.py", line 34, in from_spotify_url
    raw_track_meta, raw_artist_meta, raw_album_meta = metadata_provider.from_url(
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotdl\providers\metadata_provider.py", line 11, in from_url
    raw_track_meta = spotify_client.track(spotify_url)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotipy\client.py", line 345, in track
    return self._get("tracks/" + trid, market=market)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotipy\client.py", line 297, in _get
    return self._internal_call("GET", url, payload, kwargs)
  File "C:\Users\aryan\AppData\Local\Programs\Python\Python39\lib\site-packages\spotipy\client.py", line 267, in _internal_call
    raise SpotifyException(
spotipy.exceptions.SpotifyException: http status: 404, code:-1 - https://api.spotify.com/v1/tracks/1Y6Pxm8LFw1zJBc3ZW3Stt:
 None, reason: None

Other details

No response

dancep commented 2 years ago

Same error.

simone7121 commented 2 years ago

Me too ...

Silverarmor commented 2 years ago

Duplicate of #1497