YouTube – List videos names and URLs

YouTube – List videos names and URLs

Mark February 9, 2022

In a Chrome (apparently this works in Firefox as well) browser, go to the Youtube Channel and playlist you would like to export a list from. In the below example I have selected the “uploaded” list as it will give me all uploaded videos that have been published.

Right-click on the page and select “inspect” and then go to “Console”

At the bottom of the console, there is a prompt to type the following code:-

First code used in video (let the page load):
var scroll = setInterval(function(){ window.scrollBy(0, 1000)}, 1000);

Second Code used in video:
window.clearInterval(scroll); console.clear(); urls = $$(‘a’); urls.forEach(function(v,i,a){if (v.id==”video-title”){console.log(‘\t’+v.title+’\t’+v.href+’\t’)}});

This will then list the video name and URL, which you can copy and paste into a spreadsheet:-