Youtube Community Comments Scraper avatar
Youtube Community Comments Scraper

Pricing

$1.00 / 1,000 results

Go to Store
Youtube Community Comments Scraper

Youtube Community Comments Scraper

Developed by

Donjuan

Donjuan

Maintained by Community

YouTube Community Comments Scraper is a tool designed to extract comments from YouTube Community posts efficiently. Built for the Apify platform and powered by Playwright, this scraper automates the process of collecting comments.

0.0 (0)

Pricing

$1.00 / 1,000 results

1

Total users

7

Monthly users

6

Runs succeeded

97%

Last modified

13 days ago


YouTube Community Scraper

A script for scraping comments from a YouTube Community post using the Apify platform and Playwright.


Overview

This script is built for the Apify platform and uses Playwright to extract comments from a specified YouTube Community post.


Input

Parameters

  • post_url (string, required): The URL of the YouTube Community post to scrape.
  • limit (integer, optional): The maximum number of comments to retrieve.

Example Input

{
"post_url": "https://www.youtube.com/channel/UCRpjHHu8ivVWs73uxHlWwFA/community?lb=UgkxQdbo-_Y1fsC7JDFPOx9dP7N_y5o9YKH_",
"limit": 10
}

Output

The script returns a JSON array, where each object represents a comment. Each comment includes:

  • author:

    • username: YouTube handle (e.g., @username)
    • url: Link to the author’s channel
    • image_url: URL to the author’s profile image
  • date: When the comment was posted (e.g., "1 month ago (edited)")

  • likes: Number of likes the comment received

  • replies_count: Number of replies

  • text: The comment content

Example Output

[
{
"author": {
"username": "@pozut",
"url": "http://www.youtube.com/@pozut",
"image_url": "https://yt3.ggpht.com/ytc/AIdro_kFa9pUdjoeNcLAX4wURaMQ59QW6hymB71UtPTdXjk=s88-c-k-c0x00ffffff-no-rj"
},
"date": "1 month ago (edited)",
"likes": 540,
"replies_count": 4,
"text": "Verka Serduchka and Verka's mother!"
}
]

How to Use

  1. Log in to the Apify platform.
  2. Create a new task using this scraper.
  3. Provide the required input JSON.
  4. Run the task to collect comments from the specified YouTube Community post.

Disclaimer

This script is provided "as is", without warranties of any kind. Users are responsible for ensuring compliance with YouTube’s Terms of Service and any applicable laws when using this tool.