Created
September 27, 2018 14:18
-
-
Save Kenya-West/4d428459d20786b0f09048fd812b7362 to your computer and use it in GitHub Desktop.
Get all links to videos in Youtube channel as a plain text
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
// Open any Youtube channel and go to "all videos" page | |
// then write this in browser console | |
let kek = document.querySelectorAll("a[id='video-title']"); | |
for (let i = 0; i < kek.length; i++) { | |
console.log(kek[i].href) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment