Spotify-downloader: Encountering this error

Created on 30 Oct 2020  路  3Comments  路  Source: spotDL/spotify-downloader

Trying to download a playlist but I'm getting this error.
```C:\Users\noahb\Desktop\80's Party>spotdl https://open.spotify.com/playlist/5pMOMYcc1jFE9j19V15PLz?si=gTGY1BexQs2KeES2B2gGJw
Fetching Playlist...
0%| |ETA: ?, ~min/songmultiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(args, *kwds))
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\spotdl\download\downloader.py", line 103, in download_song
youtubeHandler = YouTube(
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\pytube__main__.py", line 91, in __init__
self.prefetch()
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\pytube__main__.py", line 183, in prefetch
self.js_url = extract.js_url(self.watch_html)
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\pytube\extract.py", line 143, in js_url
base_js = get_ytplayer_config(html)["assets"]["js"]
KeyError: 'assets'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\noahb\AppData\Local\Programs\Python\Python38-32\Scripts\spotdl-script.py", line 11, in
load_entry_point('spotdl==3.2.0rc0', 'console_scripts', 'spotdl')()
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\spotdl__main__.py", line 100, in console_entry_point
downloader.download_multiple_songs(songObjList)
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\site-packages\spotdl\download\downloader.py", line 302, in download_multiple_songs
self.workerPool.starmap(
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "c:\users\noahb\appdata\local\programs\python\python38-32\lib\multiprocessing\pool.py", line 768, in get
raise self._value
KeyError: 'assets'```

bug

Most helpful comment

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.82. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.82. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Please update the the latest version of spotdl (3.1.4)

I'm assuming the issue is fixed and closing this issue. Usually, please close an issue yourself after the problem is fixed, its a pain for maintainer to figure out weather thing are fixed of no. Ppl actually start raging at us when we close un-fixed issues (and they don't reply for days either)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iki picture iki  路  4Comments

linusg picture linusg  路  6Comments

ritiek picture ritiek  路  5Comments

Maxino22 picture Maxino22  路  4Comments

eeffeemorgan picture eeffeemorgan  路  6Comments