Youtube Comments Scraper (with replies) avatar

Youtube Comments Scraper (with replies)

Try for free

2 hours trial then $10.00/month - No credit card required now

View all Actors
Youtube Comments Scraper (with replies)

Youtube Comments Scraper (with replies)

memo23/youtube-comments-scraper
Try for free

2 hours trial then $10.00/month - No credit card required now

Capture the conversation, fuel your content. Our YouTube Comments Scraper turns viewer feedback into your competitive edge.

YouTube Comments Scraper

Overview

Dive deep into audience engagement and sentiment analysis with our YouTube Comments Scraper! Extract valuable insights from video comments, including user reactions, discussions, and feedback. Perfect for content creators, marketers, and researchers looking to understand their audience better.

Explore More Scrapers

If you found this YouTube Comments Scraper useful, be sure to check out our other powerful scrapers and actors at memo23's Apify profile. We offer a wide range of tools to enhance your web scraping and automation needs across various platforms and use cases.

How it works

This actor allows you to scrape comments from YouTube videos, extracting important details such as the comment text, author information, engagement metrics, and more. It provides valuable insights into audience reactions and discussions around specific videos or channels.

Features

  • Single or Multiple Video Scraping: Supports scraping comments from one or multiple YouTube video URLs.
  • Detailed Comment Information: Extracts comprehensive data about each comment, including unique identifiers, author details, and engagement metrics.
  • Reply Tracking: Identifies and links reply comments to their parent comments.
  • Engagement Metrics: Captures vote counts and reply counts for each comment.
  • Author Information: Retrieves non-sensitive author details like username and channel ownership status.
  • Customizable: Flexible configuration options to suit various scraping needs.

How to Use

  1. Set Up: Ensure you have an Apify account and access to the Apify platform.
  2. Configure Input: Set the YouTube video URL(s) you want to scrape comments from (see Input Data section).
  3. (Optional) Set Max Items to limit the number of comments to scrape.
  4. (Optional) Configure proxy settings for enhanced reliability and to avoid potential IP blocks.
  5. Run the Scraper: Execute the scraper on the Apify platform.
  6. Data Collection: The scraper will output data in your chosen format, which can include JSON, CSV, or others as supported by Apify.

Input Configuration

Here's an example of how to set up the input for the YouTube Comments Scraper:

1{
2    "startUrls": [
3        {
4            "url": "https://www.youtube.com/watch?v=o72NpKj0nxw"
5        }
6    ],
7    "maxItems": 1000,
8    "maxConcurrency": 10,
9    "minConcurrency": 1,
10    "maxRequestRetries": 10,
11    "proxyConfiguration": {
12        "useApifyProxy": true
13    }
14}

Output Structure

The output data typically includes:

1{
2    "comment": "0l9",
3    "cid": "Ugy9D_h58HxTs5o0z1Z4AaABAg",
4    "author": "@jenadkins",
5    "videoId": "",
6    "pageUrl": "https://www.youtube.com/watch?v=undefined",
7    "commentsCount": 0,
8    "replyCount": 0,
9    "voteCount": 0,
10    "authorIsChannelOwner": false,
11    "hasCreatorHeart": false,
12    "type": "comment",
13    "replyToCid": null,
14    "publishedTime": "1 year ago"
15}

Output Fields Explanation

  • comment: The text content of the comment.
  • cid: Unique identifier for the comment.
  • author: The username of the comment author.
  • videoId: The ID of the YouTube video (if available).
  • pageUrl: The URL of the video page.
  • commentsCount: Total number of comments on the video (if available).
  • replyCount: Number of replies to this comment.
  • voteCount: Number of votes (likes) on the comment.
  • authorIsChannelOwner: Boolean indicating if the comment author is the channel owner.
  • hasCreatorHeart: Boolean indicating if the comment has been hearted by the creator.
  • type: Type of the item (e.g., "comment" or "reply").
  • replyToCid: The CID of the parent comment if this is a reply.
  • publishedTime: When the comment was published (in relative time).

Support

Additional Services

Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 1 star
  • 100.0% runs succeeded
  • Created in Sep 2024
  • Modified about 2 months ago