Created
April 16, 2024 07:05
-
-
Save rahulbansal16/49b80a949de1719224952774a1bd9d9a to your computer and use it in GitHub Desktop.
Fetching Transcript From the Spotify
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
const elements = document.querySelectorAll("div.wYBEXo9heVZe_zkteOJ6.QER3MDmhErzCc5bKcklD"); | |
const texts = Array.from(elements).map(element => element.textContent); | |
console.log(texts); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Paste the above script in the spotify console.
Press ctrl + shift + i in windows for accessing the console.