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
15.63k stars 1.49k forks source link

SSL: CERTIFICATE_VERIFY_FAILED] #1196

Closed mattvanliedekerke closed 3 years ago

mattvanliedekerke commented 3 years ago

spotdl 'https://open.spotify.com/playlist/1d2AgpJheaXNwaPwdA7IE5?si=hKY1-WnqQ2eHSSK18ANfSw'

--

Fetching Playlist...                                                            
Searching for: Audien - See You On The Other Side
Searching for: Tiësto - The Business
Searching for: MEDUZA, Dermot Kennedy - Paradise (feat. Dermot Kennedy)
Searching for: Alison Wonderland, Valentino Khan - Anything
Searching for: Whethan, Oliver Tree, Tchami - Freefall (feat. Oliver Tree) - Tchami Remix
Searching for: BRONSON, Cassian, Gallant, ODESZA, Golden Features - KNOW ME (feat. Gallant) - Cassian Remix
Searching for: i_o, Tommy Trash, Daisy Guttridge - Let Me Go
Searching for: Tommy Trash, Daisy Guttridge - hiiigh
Searching for: Glass Animals, Diplo - Heat Waves - Diplo Remix
Searching for: Eiffel 65, Flume - Blue - Flume Remix
Searching for: Henry Fong, Knock2, General Degree - What's the Move (feat. General Degree)
Searching for: BIJOU, YOOKiE - Memories - YOOKiE Remix
Searching for: Flume, Toro y Moi, Willaris. K - The Difference - Willaris. K Remix
Searching for: QUIET BISON, Reo Cragun - High Like This (feat. Reo Cragun)
Searching for: WHIPPED CREAM, Finn Askew, Crimson Child - I Won't Let You Fall (feat. Finn Askew) - WHIPPED CREAM & Crimson Child VIP MIX
Searching for: TIGER DROOL, QUIX, Vincent - SABER TOOTH
Searching for: Sigma, Shakka - Rest Of My Life - Rollout Mix
Searching for: Netsky, Montell2099 - Mixed Emotions
Searching for: Duke & Jones, Nicole Millar - Walk Away
Searching for: Baauer, Hex Cougar - AETHER - Hex Cougar Remix
Searching for: Effin - Cabbage
Searching for: Skeler - Arcadia
Searching for: Moss - Shimmer
Searching for: WHIPPED CREAM - You Wanted It
Searching for: Heimanu - Saviour
Searching for: RL Grime, Daya - I Wanna Know
Searching for: Baauer, RL Grime - Swoopin - RL Grime Edit
Searching for: Keys N Krates - Double Dutch
Searching for: GRAVEDGR, YehMe2 - BEAM
Searching for: 1991 - Midnight
Searching for: Friction, Kanine - Your Love
Searching for: Friction, Flowidus, Raphaella - By Your Side
Searching for: Camo & Krooked, Mefjus, Sophie Lindinger - No Tomorrow
Searching for: Camo & Krooked, Jeru The Damaja - Set It Off
Searching for: Aliiias - Mess With Me
Searching for: Sudoverse, Teneki, Mailto - Florescence
Searching for: Flux Pavilion, Asha - I Believe
Searching for: Ark Patrol - Hex
Searching for: yetep, KLAXX, Aviella - Runaway
Searching for: Flux Pavilion, Chime, spaceKDET - Fall To Me
Searching for: Bad Bunny, Jhay Cortez - DÁKITI
Searching for: Bad Bunny, Jowell & Randy, Ñengo Flow - Safaera
Searching for: Jai Wolf, MEMBA - Indian Summer - MEMBA Remix
Searching for: Mustard, Migos - Pure Water (with Migos)
Searching for: Ivy Lab - Husk
Searching for: Ark Patrol - Star Sale
Searching for: Willaris. K - PAST LIGHT
Searching for: Lorde - Ribs
Searching for: Mc Lipi, Juelz - Sem Sinal, Motoloka - Juelz Remix
Searching for: Drake - Passionfruit
Searching for: Audien, Upmost - See You On The Other Side [Upmost Remix]
Searching for: Kaskade - Closer
Searching for: Martin Garrix, Tove Lo - Pressure (feat. Tove Lo)
Searching for: Lowly, Juche - Synergy
Searching for: Juche - Neo Riot
Searching for: CJ - Whoopty
Searching for: Pop Smoke - Dior
Searching for: Sander van Doorn, Martin Garrix, DVBBS, Aleesia - Gold Skies
Searching for: The Weeknd - The Morning
Searching for: Kumarion - Want It
Searching for: Burna Boy - Wonderful
Searching for: A$AP TyY, BLVCKLIST - CTC
Searching for: Guard, Madnap - Raincoats - Madnap Remix
Searching for: Flume, Toro y Moi - The Difference
Searching for: Hex Cougar, Pauline Herr - Burn
Searching for: ZHU, 24kGoldn - I Admit It (feat. 24kGoldn)
Searching for: Lorde - The Louvre
Searching for: The Weeknd - The Hills
Searching for: ARMNHMR, Melanie Fontana - Fragile (feat. Melanie Fontana)
Searching for: Doja Cat - Streets
Searching for: Two Feet - Go Fuck Yourself
Searching for: Two Feet - Had Some Drinks
Searching for: The Weeknd - High For This
Searching for: Bad Bunny - Yo Perreo Sola
Searching for: Lorde - Hard Feelings/Loveless
Searching for: Tinie Tempah, Jess Glynne, Troyboi, XYconstant - Not Letting Go (feat. Jess Glynne) - Troyboi Remix
Searching for: Daktyl, Roméo Testa - Veins Detached
Searching for: Late June - 8:23pm
Searching for: Disclosure, AlunaGeorge, Hudson Mohawke - White Noise - HudMo Remix
Searching for: Ark Patrol - Kraken
Searching for: Two Feet - Fire
Searching for: Moore Kismet, WYN - Rumor
Searching for: Slow Magic, Manila Killa, Ukiyo - Closer 2 U - Ukiyo Remix
Searching for: Nora En Pure - Monsoon - Extended Mix
Searching for: Lastlings, RÜFÜS DU SOL - No Time - RÜFÜS DU SOL Remix
Searching for: Sub Focus, Dimension - Desire (with Dimension)
Searching for: ODESZA, RY X, MEMBA - Corners Of The Earth - MEMBA Remix
Searching for: Redlight - Crystal Rain
Searching for: Dua Lipa - Good In Bed
Searching for: camoufly - Mindpower
  0%|                                                                                    |ETA: ?, ~min/songTraceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1346, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1010, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 950, in send
    self.connect()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1424, in connect
    self.sock = self._context.wrap_socket(self.sock,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/spotdl", line 33, in <module>
    sys.exit(load_entry_point('spotdl==3.3.3', 'console_scripts', 'spotdl')())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/__main__.py", line 115, in console_entry_point
    downloader.download_multiple_songs(songObjList)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/download/downloader.py", line 86, in download_multiple_songs
    self._download_asynchronously(songObjList)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/download/downloader.py", line 357, in _download_asynchronously
    self.loop.run_until_complete(asyncio.gather(*tasks))
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
    return future.result()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/download/downloader.py", line 352, in _pool_download
    return await self.download_song(song_obj)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/download/downloader.py", line 173, in download_song
    youtubeHandler = YouTube(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pytube/__main__.py", line 104, in __init__
    self.prefetch()
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pytube/__main__.py", line 202, in prefetch
    self.watch_html = request.get(url=self.watch_url)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pytube/request.py", line 42, in get
    return _execute_request(url, headers=extra_headers).read().decode("utf-8")
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pytube/request.py", line 26, in _execute_request
    return urlopen(request)  # nosec
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 517, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1389, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/urllib/request.py", line 1349, in do_open
    raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)>
Exception ignored in: <function tqdm.__del__ at 0x7f86caec65e0>
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tqdm/std.py", line 1143, in __del__
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tqdm/std.py", line 1297, in close
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tqdm/std.py", line 1490, in display
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tqdm/std.py", line 1146, in __str__
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/spotdl/download/progressHandlers.py", line 22, in format_dict
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/tqdm/std.py", line 1448, in format_dict
TypeError: cannot unpack non-iterable NoneType object
Silverarmor commented 3 years ago

Please follow our issue templates when reporting bugs or requesting features.

The devs put in hours of effort, and you should show enough respect to put in a few minutes & follow the template. Following the template also provides us all the information we need, without having to ask for it. Closing. Please create a new issue following the template if you would like assistance.

mattvanliedekerke commented 3 years ago

where's the template?

Silverarmor commented 3 years ago

image

mattvanliedekerke commented 3 years ago

Created a new ticket. Thank you!