sigma67 / spotify_to_ytmusic

Clone a Spotify playlist to YouTube Music
MIT License
895 stars 67 forks source link

Fixes empty song result from stopping the script. #47

Closed sherifnosseir closed 1 year ago

sherifnosseir commented 1 year ago

The script stops when encountering an empty song entry within the song results

sigma67 commented 1 year ago

Hi, I believe this is an upstream bug with ytmusicapi. Can you point out the search query where this occured?

sherifnosseir commented 1 year ago

you can try this playlist python3 YouTube.py https://open.spotify.com/playlist/61EYf26o1WHwgAq2XyDOJq

sigma67 commented 1 year ago

I had no issues creating the playlist with the latest version of ytmusicapi: https://music.youtube.com/playlist?list=PLQwVIlKxHM6qygE7sTn7ZWlT9w2tJuuG9