Every single day, a staggering average of 3.7 million fresh videos are uploaded to YouTube. It’s a haven for marketers, salespeople, and researchers seeking knowledge and insights.
But scraping YouTube video data is where the real magic happens. You can get your hands on all the specific details like video titles, descriptions, thumbnails, and even cool stats like view counts and comments.
And, of course, when it comes to processing and tinkering with all that extracted data, nothing beats our trusty old spreadsheet.
Using the ImportFromWeb add-on and the function it adds to Google Sheets, you extract YouTube video metadata in bulk without technical knowledge!
With =IMPORTFROMWEB(), you extract the following YouTube metadata.
- video title
- video description
- thumbnail URL
- number of views, likes, comments
- video duration
First of all, make sure you have installed the ImportFromWeb add-on from the Google Workspace Marketplace.
Then, just follow these easy steps:
To activate the add-on, go to Extensions > ImportFromWeb > Activate add-on.
ImportFromWeb requires 2 parameters: a URL and one or more data selectors.
Enter a list of YouTube video URLs in the first column using the following format: https://www.youtube.com/watch?v=xxxxx
Data selectors describe the specific content you want to import from the YouTube video pages.
Pick the selectors you are interested in from our YouTube selectors glossary and add them to your spreadsheet. For example, you may be interested in the title, published_date, views_count, and likes_count.
This is what your spreadsheet should look like:
Just add this formula:
Within seconds, you’ll get the first video’s metadata.
After adding the $ symbol around the data selectors, drag the formula down to the last row:
We’ve designed an easy-to-use template.
Make sure you have installed and activated ImportFromWeb in your Google Sheets.