Created
February 23, 2021 01:37
-
-
Save alana314/f36055e18f4602b460f0a7db3b5fb05a to your computer and use it in GitHub Desktop.
Export Apple Music Recently Added Songs to File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First go to https://music.apple.com/library/recently-added and log in | |
// Scroll down the page to populate more items | |
// Open the developer console and paste this: | |
copy([...document.querySelectorAll('.line')].map((l, i) => {return {'song': l.innerText, 'artist' : [...document.querySelectorAll('.line2')]?.[i]?.innerText}})) | |
// This copies a JSON array of songs and artists to your clipboard, paste into a blank text document |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script to copy your recently added apple music into a text file.