Created
August 26, 2022 20:37
-
-
Save atomicstack/3e92a28e53de928e61c1d2e924f22255 to your computer and use it in GitHub Desktop.
a JS snippet that dumps a list of title+href for each selected YouTube search result
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
document.querySelectorAll('a[title*=$foo]').forEach(function(item, i) { console.log([item.title, item.href ]); }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment