# Skool Video Scraper (`takshit/skool-community-video-scraper-apify`) Actor

Scrape video links from Skool Communities

- **URL**: https://apify.com/takshit/skool-community-video-scraper-apify.md
- **Developed by:** [Takshit Mathur](https://apify.com/takshit) (community)
- **Categories:** Automation
- **Features:** Full permissions
- **Stats:** 262 total users, 1 monthly users, 50.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$5,000.00 / 1,000 single runs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Skool Community Video Extractor

Extract video links from Skool community classrooms with intelligent duplicate detection and filtering. This actor supports Loom, Vimeo, YouTube, and other embedded videos, organizing them in a hierarchical structure.

### Features

✅ **Hierarchical Organization** - Videos organized by Chapter → Section → Lesson structure\
✅ **Duplicate Detection** - Automatically filters duplicate content across lessons\
✅ **Multiple Video Platforms** - Supports Loom, Vimeo, YouTube, and other embedded videos\
✅ **Clean Output Formats** - CSV, JSON, and Markdown outputs available\
✅ **Authentication Support** - Uses your browser cookies for private classroom access

### Use Cases

- **Course Content Analysis** - Catalog all videos in a Skool community for analysis
- **Content Backup** - Create organized lists of educational content for backup
- **Course Migration** - Extract video inventory when moving between platforms
- **Analytics & Research** - Analyze video distribution across learning modules

### Input Configuration

#### Required Inputs

##### Classroom URLs

Provide the base Skool classroom URLs **without** the `?md` parameter.

✅ **Correct format:**

```
https://www.skool.com/acquisitionx/classroom/45fb63c0
```

❌ **Incorrect format:**

```
https://www.skool.com/acquisitionx/classroom/45fb63c0?md=123abc456
```

##### Authentication Cookies

Export your browser cookies in Netscape format. Here's how:

**Chrome:**

1. Install a cookie export extension like "Get cookies.txt LOCALLY"
2. Navigate to any Skool page while logged in
3. Export cookies for `skool.com` domain
4. Copy the exported text

**Firefox:**

1. Install "cookies.txt" extension
2. Visit Skool while logged in
3. Export cookies for the domain
4. Copy the cookie data

**Example cookie format:**

```
## Netscape HTTP Cookie File
.skool.com	TRUE	/	FALSE	1234567890	session_token	your_session_token_here
.skool.com	TRUE	/	FALSE	1234567890	auth_token	your_auth_token_here
```

#### Optional Settings

- **Duplicate Detection Threshold** (0.5-1.0): Controls how strictly duplicates are filtered. Higher = more strict.
- **Output Format**: Choose between enhanced (with filtering) or simple (all videos) output.

### Output Data

The actor provides multiple output formats:

#### Dataset Output

Each video entry contains:

- `chapter` - Chapter name
- `section` - Section name
- `lesson` - Lesson title
- `video_title` - Video title (if available)
- `video_url` - Direct video link
- `video_type` - Platform type (loom, vimeo, youtube, etc.)
- `lesson_url` - Source lesson URL

#### Key-Value Store Files

- `enhanced_extracted_links.csv` - Clean CSV format
- `enhanced_extracted_links.json` - Hierarchical JSON structure
- `enhanced_extracted_links.md` - Human-readable report
- `duplicate_analysis_report.json` - Duplicate filtering details

### Sample Output

```json
{
  "chapter": "Reddit Inbound Funnel",
  "section": "Getting Started", 
  "lesson": "Introduction to Reddit Marketing",
  "video_title": "Reddit Strategy Overview",
  "video_url": "https://www.loom.com/share/abc123def456",
  "video_type": "loom",
  "lesson_url": "https://www.skool.com/acquisitionx/classroom/45fb63c0"
}
```

### Usage Tips

#### 🎯 **Best Practices**

- Use fresh browser cookies (exported recently while logged in)
- Provide multiple classroom URLs to extract from entire communities
- Start with default duplicate threshold (0.8) and adjust if needed

#### ⚠️ **Important Notes**

- You must have access to the Skool classrooms you're extracting from
- Private communities require valid authentication cookies
- The actor respects Skool's structure and doesn't modify any content

#### 🛠️ **Troubleshooting**

**Problem: No videos found**

- Verify your cookies are fresh and valid
- Check that classroom URLs are correct (no ?md parameter)
- Ensure you have access to the specified classrooms

**Problem: Authentication errors**

- Re-export cookies from an active Skool session
- Make sure cookies include session and auth tokens
- Try accessing the classroom manually in your browser first

**Problem: High duplicate rate**

- This is normal for Skool's React architecture
- The actor automatically filters duplicates
- Check the duplicate analysis report for details

### Rate Limiting & Performance

- The actor includes built-in delays to respect Skool's servers
- Typical processing: ~1-2 seconds per lesson URL
- Memory usage: <100MB for typical workloads
- Network dependent: requires stable internet connection

### Legal & Ethical Use

- Only extract content you have legitimate access to
- Respect Skool's Terms of Service
- Don't use for unauthorized content redistribution
- Educational and personal backup use recommended

### Support

For technical issues or feature requests, please check the actor's documentation or contact support through the Apify platform.

***

**Note**: This actor is designed for educational and research purposes. Please respect content creators' rights and Skool's terms of service when using this tool.

# Actor input Schema

## `classroomUrls` (type: `array`):

List of Skool classroom URLs to extract videos from. Use the base URL without ?md parameter (e.g., https://www.skool.com/acquisitionx/classroom/45fb63c0)

## `cookies` (type: `string`):

Your Skool authentication cookies in Netscape format. Export these from your browser to access private classroom content. Keep these secure!

## `duplicateThreshold` (type: `integer`):

Similarity threshold percentage (50-100%) for detecting duplicate video content across lessons. Higher values are more strict.

## `outputFormat` (type: `string`):

Choose the primary output format for extracted video data

## Actor input object example

```json
{
  "classroomUrls": [
    "https://www.skool.com/acquisitionx/classroom/45fb63c0"
  ],
  "cookies": "# Netscape HTTP Cookie File\n.skool.com\tTRUE\t/\tFALSE\t1234567890\tsession_token\tyour_session_token_here",
  "duplicateThreshold": 80,
  "outputFormat": "enhanced"
}
```

# Actor output Schema

## `chapter` (type: `string`):

Name of the chapter/course containing this video

## `section` (type: `string`):

Name of the section within the chapter

## `lesson` (type: `string`):

Title of the specific lesson containing this video

## `video_title` (type: `string`):

Title of the video

## `video_url` (type: `string`):

Direct URL to the video content

## `video_type` (type: `string`):

Type of video platform (loom, vimeo, etc.)

## `lesson_url` (type: `string`):

URL of the Skool lesson page containing this video

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("takshit/skool-community-video-scraper-apify").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("takshit/skool-community-video-scraper-apify").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 '{}' |
apify call takshit/skool-community-video-scraper-apify --silent --output-dataset

```

## MCP server setup

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

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/WTtV19iNctQDiGEjh/builds/uGa6fQrONievuyvdU/openapi.json
