Last active
July 7, 2026 03:40
-
-
Save sschyu/bf38aa71e8f4655462e3055ab6540a3f to your computer and use it in GitHub Desktop.
A dumb browser console script to copy YouTube playlist video titles in Markdown format
This file contains hidden or 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
| var items = document.querySelectorAll('a#video-title'); | |
| var outputs = new String(); | |
| items.forEach(element => { | |
| var title = element.innerText; | |
| var href = element.href; | |
| var o = '[' + title + '](' + href + ')\n'; | |
| outputs += o; | |
| }); | |
| console.log(outputs); | |
| copy(outputs); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment