Google Music playlist exporter allowing Google Play Music playlist export with javascript.
This code allows you to export your Google Music playlist into an M3U playlist file, CSV file, or a text file, allowing potential import into other applications (such as Spotify, rdio, SoundCloud, Tidal, Deezer, Groove, Napster).
- Open Google Music
- Navigate to the playlist you want to export in google music and ensure you have not scrolled down the page.
- Open your browser's inspector window (in Chrome, right click > inspect element).
- Copy & paste the javascript from exporter.js into the console tab of your inspector window and press enter.
- View the page, a dialog prompt will ask you what type of playlist you would like to generate.
- Scroll down the page, the exporter will scrape the playlist as you scroll, indicating number of songs scraped in lower right of browser.
- After no new songs have been scraped for 10 seconds, the exporter will automatically initialize a file download of your playlist file.
There are two options for importing the generated playlist:
- Use Soundiiz to connect to other music services (such as Spotify, rdio, SoundCloud, Tidal, Deezer, Groove, Napster).
- Drag & Drop the generated m3u playlist file from Basic Usage steps above into Soundiiz.
- Soundiiz will process your file and prompt you to select the services you connected in step 1 as the destination of your playlist.
- Perform the steps under Basic Usage.
- Use Ivy to create a playlist file for Spotify from the playlist.txt file using the Copy/Paste functionality of Ivy to copy the text from the playlist.txt file.
The javascript takes two arguments which you will find on the last line:
This is the time in seconds that the script waits for you to scroll the playlist before downloading the file. A -1 value indicates to wait until on new songs have been found for 10 seconds.
This is the format the script will download the file as. Supports 'prompt', 'm3u', 'ivy' and 'csv'. The 'prompt' value will generate an in-page dialog asking your to specify. If you need a custom format, you should download as a CSV and then open with spreadsheet software such as Excel or Google Docs.