# YouTube Community Posts Scraper 🚀📄💬 (`scrapestorm/youtube-community-posts-scraper`) Actor

Looking for a YouTube community posts scraper to extract posts from an entire channel? 🔍 Your search ends here! With the YouTube Community Posts Extractor 💬, gather all the community posts from videos across a channel, including likes, comments, poll choices, images, & more. No proxy needed ! ⚡💬

- **URL**: https://apify.com/scrapestorm/youtube-community-posts-scraper.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Videos, Social media
- **Features:** Limited permissions
- **Stats:** 178 total users, 10 monthly users, 86.8% runs succeeded, 4 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🎥 YouTube Community Posts Extractor (Fast & Cheap)

🚨 The strength of our tool is that you simply provide a channel URL and the max number of posts to fetch, and we handle the extraction of community posts and detailed information for each post! 💪

The YouTube Community Posts Extractor 💥 is a powerful tool 💪 designed to extract detailed data from community posts on YouTube 📺. By providing the URL of a channel and the max number of items to fetch, you can retrieve:

```
Post ID 📛
Author of the post 📝
Post text 💬
Date of publication 📅
Number of likes 👍
Number of comments 💬
Poll choices (if available) 🗳️
Video thumbnail 🎬
Images 🖼️
Attachment type 📎
```

This scraper allows you to collect key engagement data 💬 on community posts without hitting any limits or quotas 🚫. Just ensure that the desired number of posts exists on the channel.

### Key Features ✨🚀

- Extract community posts from YouTube 💬🎥

- Customizable output formats to suit your needs ⚙️📊

- No proxy required, fast and efficient ⚡

- Get details for each post, including text, author, and more ⏰💬

### 🛠️ How to Use

This extractor takes a YouTube channel URL and the max number of items to fetch and returns the corresponding community posts 💬🎥.
Steps:

```
Enter Data: Provide the YouTube channel URL and the number of items to fetch.

Start Extraction: Click "Start" to begin the extraction process.

Download Your Data: After the extraction process is complete, you can download the results in various formats such as JSON, CSV, XML, HTML Table, etc.
```

⚠️ No Posts Available: If a post does not have data available, the extractor will return "null".

Make sure you’ve copied and pasted the correct channel URL into the input field. An invalid URL will prevent the tool from retrieving the posts. ❌

### Why Scrape YouTube Community Posts? ✨🚀

- Save Time: Quickly gather community posts without having to browse each one 🎥⏱️

- Engagement Analysis: Analyze viewer interactions, sentiment, and trends across posts 📊🔑

- Content Research: Discover valuable feedback, opinions, and insights from viewers 💡

- Boost SEO: Use posts to enhance content optimization 📈🔍

- Community Management: Gather data on viewer engagement to improve social media strategies 📱.

### 💸 Pricing

This scraper operates on a pay-per-month basis at a cost of $9.90/month.

### Related Actors 👌

If you're interested in other scraping comments from YouTube or social media scraping solutions, check out these related actors:

- [YouTube Full Channel Transcripts Extractor ⚡📜](https://apify.com/scrapestorm/youtube-full-channel-transcripts-extractor)
- [YouTube Full Channel Comments Extractor ⚡📜💬](https://apify.com/scrapestorm/youtube-full-channel-comments-extractor)
- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/tiktok-comments-scraper---fast-cheap)
- [TikTok Comments Scraper 📲💬✨ - Fast & cheap](https://apify.com/scrapestorm/youtube)
- [Pinterest Comments Scraper ✨📌💬](https://apify.com/scrapestorm/pinterest-comments-scraper)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### 🔑 YouTube Community Posts Extractor Input ⚡💬

The YouTube Community Posts Extractor requires a specific input format. Provide a JSON object with the URL of the YouTube channel.

```
{
    "channel_link": "https://www.youtube.com/@rihanna",
    "max_items": 100
}


```

### 📊 YouTube Community Posts Extractor Output

The YouTube Community Posts Extractor will extract the following information for each post and store it in the Apify dataset. After the run is complete, you can download the data in various formats (JSON, CSV, XML, RSS, or HTML Table).

```
[
    {
        "postId": "Ugkx604R2aca-PSQVk4r-lzGr8ZAreFU5Lz-",
        "author": "SEGA",
        "authorUrl": "/@SEGA_West",
        "text": "The Year of the Snake sale is here! 🐍\n\r\nCelebrate the new year with up to 80% off selected SEGA titles, including Metaphor: ReFantazio 👑\n\r\nGet these deals before they slither away: ",
        "publishedTime": "1 month ago",
        "likeCount": "3.8K",
        "commentCount": "120",
        "pollChoices": [
            "Yes",
            "No"
        ],
        "videoThumbnail": "https://i.ytimg.com/vi/example_video_thumbnail.jpg",
        "images": [
            "https://i.ytimg.com/vi/example_image_1.jpg",
            "https://i.ytimg.com/vi/example_image_2.jpg"
        ],
        "attachmentType": "image"
    }
]



```

### 📫 Support

😊 Leave us a ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs or issues, please reach out through Apify's platform or via email - [Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

# Actor input Schema

## `channelUrls` (type: `array`):

List of YouTube channel URLs to scrape Community Posts from (e.g., https://www.youtube.com/@rihanna). Each channel is scraped separately, up to maxItemsPerChannel posts per channel.

## `maxItemsPerChannel` (type: `integer`):

Specify the maximum number of Community Posts to scrape per channel.

## Actor input object example

```json
{
  "channelUrls": [
    "https://www.youtube.com/@SEGA_West"
  ],
  "maxItemsPerChannel": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "channelUrls": [
        "https://www.youtube.com/@SEGA_West"
    ],
    "maxItemsPerChannel": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/youtube-community-posts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "channelUrls": ["https://www.youtube.com/@SEGA_West"],
    "maxItemsPerChannel": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/youtube-community-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "channelUrls": [
    "https://www.youtube.com/@SEGA_West"
  ],
  "maxItemsPerChannel": 100
}' |
apify call scrapestorm/youtube-community-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapestorm/youtube-community-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/1D0pGcdQulBhbzvF5/builds/r5RkTPwPWv2HFknsT/openapi.json
