Hey, I was using spotDL V1 a while back, and I hadn't used it at all for a few months. I tried downloading a song and it said there was no result for the YouTube query searched for. Obviously that means the version I was using is no longer supported, so I updated to V3.0, via pip uninstall spotdl , then, when that was uninstalled, I proceeded to pip install spotdl . Using the new format to download music, I attempted to download a single song, "Legends Never Die - League of Legends". But every time I hit enter, it says fetching song, then this: File "/home/batman/miniconda3/bin/spotdl", line 8, in <module>
sys.exit(console_entry_point())
File "/home/batman/miniconda3/lib/python3.7/site-packages/spotdl/__main__.py", line 100, in console_entry_point
downloader.download_single_song(song)
File "/home/batman/miniconda3/lib/python3.7/site-packages/spotdl/download/downloader.py", line 274, in download_single_song
download_song(songObj, self.displayManager, self.downloadTracker)
File "/home/batman/miniconda3/lib/python3.7/site-packages/spotdl/download/downloader.py", line 104, in download_song
on_progress_callback = displayManager.pytube_progress_hook
File "/home/batman/.local/lib/python3.7/site-packages/pytube/__main__.py", line 91, in __init__
self.prefetch()
File "/home/batman/.local/lib/python3.7/site-packages/pytube/__main__.py", line 183, in prefetch
self.js_url = extract.js_url(self.watch_html)
File "/home/batman/.local/lib/python3.7/site-packages/pytube/extract.py", line 143, in js_url
base_js = get_ytplayer_config(html)["assets"]["js"]
KeyError: 'assets' Any ideas?
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Worked for me: https://lingvox.org/index.php/s/TS8QMGrKtJn66mR
Well thanks, but I don't want the song, I need a fix.
Are you using the latest version?
Please look at other issues before submitting a new one. There are plenty of other KeyError issues reported (#930 #942 #928 #921 #918 #925 .... many more). If you have a similar issue, please comment on those so they get more attention and they might be able to help you solve your problem.
also, regarding the feedback you left for the issue-label-bot .... is this not considered a bug??
well worked for me too, hope you get your fix
I get similar errors when I try to download some songs without sudo / admin rights. When I run it with admin permissions everything is fine. Have you already tried to run it with admin rights?
I don't know how to run it in Admin, I'm using linux, not Windows.
On Sun, Nov 15, 2020 at 2:29 AM ByteDream notifications@github.com wrote:
I get similar errors when I try to download some songs without sudo /
admin rights. When I run it with admin permissions everything is fine. Have
you already tried to run it with admin rights?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spotDL/spotify-downloader/issues/978#issuecomment-727547945,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP67RIK4UFNF75NEOFOB2PTSP6UPZANCNFSM4TROZ63Q
.
Just type sudo before the command🤷♂️
Duplicate of #987, badly formatted issue. Closing
Most helpful comment
Issue-Label Bot is automatically applying the label
bugto this issue, with a confidence of 0.77. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!Links: app homepage, dashboard and code for this bot.