DEV Community

Crawler Bros
Crawler Bros

Posted on

YouTube Video Analysis: Scrape Details, Transcripts & Comments

Beyond the Watch Count: Deep Dive into YouTube Video Performance

For marketers, content creators, researchers, and data analysts, understanding the true impact of a YouTube video goes far beyond simple view counts. Imagine you're a market researcher tracking emerging trends in sustainable fashion. You've identified a dozen influential YouTube videos that seem to be shaping public opinion. You need to understand not just what's being said in the video, but how it's being said (transcript analysis), what the audience thinks (comment sentiment), and the true engagement beyond a simple like count. Manually extracting this data for multiple videos is tedious, error-prone, and incredibly time-consuming.

What if you could automatically collect comprehensive details like video metadata, full transcripts, viewer comments, and engagement metrics for any set of YouTube videos with just a few clicks? This is precisely the problem our Youtube Video Details Scraper (also known as the youtube-video-details-scraper actor) solves.

Unlocking Comprehensive YouTube Insights

The youtube-video-details-scraper is designed to extract a wealth of information from YouTube videos, offering a robust solution for anyone needing deep analytical capabilities. It pulls data including:

  • Core Video Metadata: Title, description, published_date, duration_seconds, views, likes, comment_count, category, and language. This foundational data allows you to track video performance over time, categorize content, and identify key characteristics.
  • Channel Information: Details about the video's channel, including channel_name, channel_id, subscriberCount, and logo. This helps in understanding the creator's influence and audience.
  • Engagement Metrics: Beyond raw numbers, it provides an engagement_rate to give a more nuanced view of how viewers interact with the content.
  • Transcripts: A full, time-stamped transcript array, perfect for content analysis, keyword extraction, and sentiment analysis of the spoken word. Each entry includes start, dur, and text.
  • Comments: Optionally extracts a specified maxComments per video, including commentId, text, author, publishedTime, and likes. This is invaluable for understanding audience sentiment, common questions, or feedback trends.
  • Tags & Hashtags: Provides both video tags and hashtags to help identify SEO strategies and content categorization.

This rich dataset is invaluable for competitive analysis, content strategy, trend spotting, academic research, and monitoring brand mentions.

Real-World Use Case: Competitor Content Analysis for a SaaS Product

Let's say you're a content strategist for a B2B SaaS company that offers project management software. You want to understand how competitors in your niche are using YouTube to attract and educate potential customers. You've identified 50 key videos from competitor channels that you suspect are performing well.

Here’s how the youtube-video-details-scraper can help:

  1. Identify Top-Performing Content Themes: By scraping the title, description, tags, and hashtags from competitor videos, you can quickly identify recurring themes, keywords, and topics that resonate with their audience. Are they focusing on specific features, integration tutorials, or thought leadership?
  2. Analyze Engagement and Audience Reception: Extracting views, likes, comment_count, and the calculated engagement_rate allows you to benchmark competitor video performance against your own and identify content types that generate high interaction. More importantly, scraping maxComments (say, 500 per video) and analyzing the text of those comments can reveal common pain points, feature requests, or questions their audience has. This offers direct insights into market needs you might address with your own product or content.
  3. Understand Content Structure and Messaging: The full transcript data is a game-changer. You can analyze the language used, identify key selling points, detect calls to action, and even gauge the overall tone of competitor videos. This detailed text analysis can inform your own video scripting and content messaging strategies.
  4. Track Channel Growth and Influence: By capturing channel_name and subscriberCount, you can monitor the growth and influence of competitor channels over time, understanding which creators are gaining traction.

Without the youtube-video-details-scraper, gathering this level of detail for 50 videos would be a monumental manual task, likely taking days or weeks. With the actor, it becomes an automated process that takes minutes.

How to Use the Youtube Video Details Scraper

Using the youtube-video-details-scraper is straightforward:

  1. Find the Actor: Navigate to the youtube-video-details-scraper on the Apify platform.
  2. Prepare Your Input: You'll need a list of YouTube video URLs or video IDs. These go into the videoUrls input field. For example, if you want to scrape two videos, your input might look like: "videoUrls": ["https://www.youtube.com/watch?v=VIDEO_ID_1", "https://youtu.be/VIDEO_ID_2"] The actor supports various URL formats including full watch?v= links, youtu.be short links, shorts URLs, embed URLs, and even just the bare video ID.
  3. Set Comment Extraction (Optional): If you need viewer comments, set the maxComments field to a value between 1 and 1000. If you don't need comments, you can leave it at its default of 0 to speed up the process. For instance, to get up to 100 comments per video: "maxComments": 100
  4. Run the Actor: Click the "Start" button to initiate the scraping process.
  5. Review Your Results: Once the run completes, the data will be available in a structured format. Each row in the dataset represents one video, containing all the extracted metadata, channel information, transcript, and comments (if requested). You can download this data in various formats like JSON, CSV, or Excel for further analysis.

This automated approach empowers you to rapidly gather and analyze vast amounts of YouTube video data, turning what was once a daunting task into an efficient data-driven process. Start exploring the possibilities and elevate your YouTube insights today.


Ready to try it yourself? Run *Youtube Video Details Scraper** on the Apify Store -- no setup required.*

Top comments (0)