# Archive Skool Classroom Lessons & Videos

**Use case:** 

Extract and download every lesson, video, and resource from a Skool classroom. Archive a full course library automatically, with resumable runs.

## Input

```json
{
  "communityUrls": [
    {
      "url": "https://www.skool.com/ai-automation-society/classroom"
    }
  ],
  "maxItemsPerSection": 10,
  "skipLockedCourses": true,
  "extractCommunityFeed": false,
  "downloadResources": true,
  "downloadVideos": false,
  "postUrls": [
    {
      "url": "https://www.skool.com/ai-automation-society/please-read-rules-and-guidelines"
    }
  ],
  "downloadAttachments": false,
  "maxCommentsPerPost": 1,
  "discoveryMaxResults": 1,
  "discoveryUrls": [
    {
      "url": "https://www.skool.com/discovery?ty=public&c=e85018a1df484d5ea09c43c8b2764586&lang=all&pr=free-trial&srt=top-v2"
    }
  ]
}
```

## Output

```json
{
  "type": {
    "label": "🏷️ Type",
    "format": "text"
  },
  "extractedAt": {
    "label": "🕐 Extracted At",
    "format": "date"
  },
  "community": {
    "label": "🌐 Community",
    "format": "text"
  },
  "communityId": {
    "label": "🆔 Community ID",
    "format": "text"
  },
  "communityUrl": {
    "label": "🔗 Community URL",
    "format": "link"
  },
  "course": {
    "label": "📚 Course",
    "format": "text"
  },
  "courseId": {
    "label": "🆔 Course ID",
    "format": "text"
  },
  "courseShortId": {
    "label": "🔑 Course Short ID",
    "format": "text"
  },
  "section": {
    "label": "📂 Section",
    "format": "text"
  },
  "sectionId": {
    "label": "🆔 Section ID",
    "format": "text"
  },
  "lesson": {
    "label": "📖 Lesson",
    "format": "text"
  },
  "lessonId": {
    "label": "🆔 Lesson ID",
    "format": "text"
  },
  "lessonShortId": {
    "label": "🔑 Lesson Short ID",
    "format": "text"
  },
  "position": {
    "label": "🔢 Position",
    "format": "number"
  },
  "descriptionText": {
    "label": "📝 Description",
    "format": "text"
  },
  "descriptionRaw": {
    "label": "🧩 Description (Raw)",
    "format": "text"
  },
  "createdAt": {
    "label": "📅 Created",
    "format": "date"
  },
  "updatedAt": {
    "label": "🔄 Updated",
    "format": "date"
  },
  "hostedVideo.source": {
    "label": "🎬 Video Source",
    "format": "text"
  },
  "hostedVideo.videoId": {
    "label": "🆔 Video ID",
    "format": "text"
  },
  "hostedVideo.playbackId": {
    "label": "▶️ Playback ID",
    "format": "text"
  },
  "hostedVideo.playbackUrl": {
    "label": "🎥 Playback URL",
    "format": "link"
  },
  "hostedVideo.playbackTokenExpires": {
    "label": "⏰ Token Expires",
    "format": "date"
  },
  "hostedVideo.thumbnailUrl": {
    "label": "🖼️ Thumbnail",
    "format": "image"
  },
  "hostedVideo.durationMs": {
    "label": "⏱️ Duration (ms)",
    "format": "number"
  },
  "hostedVideo.aspectRatio": {
    "label": "📐 Aspect Ratio",
    "format": "text"
  },
  "hostedVideo.status": {
    "label": "📡 Video Status",
    "format": "text"
  },
  "hostedVideo.fileSizeHuman": {
    "label": "📦 Video Size",
    "format": "text"
  },
  "hostedVideo.downloadUrl": {
    "label": "🔗 Video URL",
    "format": "link"
  },
  "hostedVideo.direct_download": {
    "label": "⬇️ Download Video",
    "format": "link"
  },
  "lessonVideo.platform": {
    "label": "🎬 Embed Video Platform",
    "format": "text"
  },
  "lessonVideo.url": {
    "label": "🔗 Embed Video URL",
    "format": "link"
  },
  "lessonVideo.durationMs": {
    "label": "⏱️ Embed Duration (ms)",
    "format": "number"
  },
  "lessonVideo.thumbnailUrl": {
    "label": "🖼️ Embed Thumbnail",
    "format": "image"
  },
  "resources": {
    "label": "🔗 Resources",
    "format": "array"
  },
  "descriptionImages": {
    "label": "🖼️ Description Images",
    "format": "array"
  },
  "post.postId": {
    "label": "🆔 Post ID",
    "format": "text"
  },
  "post.postName": {
    "label": "🔑 Post Name",
    "format": "text"
  },
  "post.postUrl": {
    "label": "🔗 Post URL",
    "format": "link"
  },
  "post.title": {
    "label": "📌 Post Title",
    "format": "text"
  },
  "post.author.fullName": {
    "label": "👤 Author",
    "format": "text"
  },
  "post.content": {
    "label": "📄 Post Content",
    "format": "text"
  },
  "post.upvotes": {
    "label": "👍 Upvotes",
    "format": "number"
  },
  "post.commentsCount": {
    "label": "💬 Comments",
    "format": "number"
  },
  "post.createdAt": {
    "label": "📅 Post Created",
    "format": "date"
  },
  "lessonUrl": {
    "label": "🔗 Lesson URL",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Skool Scraper Pro- FREE TO USE](https://apify.com/dz_omar/skool-scraper-pro) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dz_omar/skool-scraper-pro) to learn more, explore other use cases, and run it yourself.