Created
January 7, 2022 04:07
-
-
Save Arcitec/989f514b8bc6d08ca0165c25898c02e0 to your computer and use it in GitHub Desktop.
YouTube Studio: Export titles and links for all your videos.
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
// 1. Go to https://studio.youtube.com/ | |
// 2. Go to the "Content" (Channel content) page, which is the list of all your videos. | |
// 3. Run this in the browser's Javascript console. | |
// 4. Just copy the console text (contains all of the currently visible videos). | |
let lines = []; document.querySelectorAll("ytcp-video-section-content a#thumbnail-anchor").forEach((lbl) => { lines.push(lbl.getAttribute("aria-label")); let href = lbl.href.match(/video\/(.+?)\/edit$/); href = href ? "https://www.youtube.com/watch?v=" + href[1] : "Failed to retrieve link."; lines.push(href + "\n"); }); console.log(lines.join("\n")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment