Lately I felt the need to import songs from Shazam to Youtube. Few years ago, before apple bought Shazam, was possible to auto-sync it, but now there is no option to do it. I thought it would be really useful to create a simple tool to grab all the songs from my Shazam and import them into a Youtube Playlist.To try to achieve this, the only tool that Shazam offer is a csv file, which opened into a viewer, it doesn't seems to display in a good way the traces titles and artist.Endeed a screen from shazam
is displayed like this into a csv viewer
which is quite confused.I'm thinking to go through the hard way which means to scrap the page and get the titles if they are not obtainable through the csv file.After that, I thought I could use the Youtube Api - Insert where I can specify the title of the song to add to a specific playlist.Now, apart from the code, do you have any suggestion or thought about it? Would it be possible to make it?Thanks
edit1: Using Notepad ++ I had to search with ."(.)","(.)". and replace with \1 - \2 so now I got the complete list of songs in the format title - artist.Now I have to make the step number 2, using the YouTube API in order to add to a playlist the first song searched ..This is a really hard step to me, cause I never proceed using this kind of loop.Using a big list of titles - artist, I should be able to seaarch it, grab the first result id, add it to a known playlist and keep returning to the list to grab the second result and so on.Which method should I use? Thanks
