Closed shortaktien closed 2 years ago
can you send the playlist you were trying to download and update the requirement pytube?
I encountered the same issue, here was my failed_log.txt
list index out of range
Traceback (most recent call last):
File "/Users/***/Desktop/spotify2mp3/run.py", line 158, in download_playlist
yt_data = json.loads(yt_results)['videos'][0]
IndexError: list index out of range
I haven't looked at run.py
enough, but it looks like it's not checking to make sure that the array is empty before trying to access it.
after 30 songs was aborted, with this code