Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
              
            
!

CSS

              
                
              
            
!

JS

              
                
/********************************************************************************/
// YOUTUBE: EXPORT ANY CHANNEL VIDEO TITLES AND URLS TO TEXT/CSV/EXCEL/SPREADSHEET
// JAVASCRIPT CODE TO COPY & PASTE IN THE CONSOLE (F12) OF ANY WEB BROWSER. 
// TESTED IN CHROME IN JUNE 2023, BUT SHOULD WORK IN ANY WEB BROWSER.
// VIDEO TUTORIAL AND SUPPORT AVAILABLE AT https://www.youtube.com/@NetgrowsTech/
// CODE CREATED BY NETGROWS TECH. VISIT US AT https://responsive-muse.com & https://netgrows.com
/********************************************************************************/



    //STEP 1

    //Visit the channel videos page:

    //Example: https://www.youtube.com/@NetgrowsTech/videos



    //STEP 2

    //Open the console (F12), paste the code 1 and press enter

    //COPY & PASTE CODE:

    let goToBottom = setInterval(() => window.scrollBy(0, 800), 1000);




    //STEP 3

    //Wait until the page scrolls to the bottom and then paste the code 2 and press enter
    //You can copy and paste this data into any spreadsheet or optionally download it as a CSV file (see step 4)

    //COPY & PASTE CODE:
    clearInterval(goToBottom);
    let arrayVideos = [];
    console.log('\n'.repeat(50));
    const links = document.querySelectorAll('a');
    for (const link of links) {
    if (link.id === "video-title-link") {
        arrayVideos.push(link.title + ';' + link.href);
        console.log(link.title + '\t' + link.href);
    }
    }



    //STEP 4 (optional)

    //Force download as a CSV file (using ; as separator)

    //COPY & PASTE CODE:

    let data = arrayVideos.join('\n');
    let blob = new Blob([data], {type: 'text/csv'});
    let elem = window.document.createElement('a');
    elem.href = window.URL.createObjectURL(blob);
    elem.download = 'my_data.csv';
    document.body.appendChild(elem);
    elem.click();
    document.body.removeChild(elem);
              
            
!
999px

Console