Skip to content

luxio/mediapull

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediaPull

Downloads skool.com videos – either directly from a classroom/post URL (login is taken from the browser) or from a master .m3u8 URL.

Requirements

  • macOS (cookie decryption via Keychain + openssl)
  • yt-dlp and ffmpegbrew install yt-dlp ffmpeg
  • A Chromium-based browser in which you are logged in to skool (default: Helium; also chrome, brave, chromium, edge, arc)

Usage

# Single lesson (URL from the browser address bar, with ?md=...)
./mediapull.py "https://www.skool.com/<community>/classroom/<id>?md=<lesson>"

# List all lessons of a course with links
./mediapull.py --list-lessons "https://www.skool.com/<community>/classroom/<id>"

# Download the entire course
./mediapull.py --all "https://www.skool.com/<community>/classroom/<id>"

# Choose quality / only show qualities
./mediapull.py URL -q 720
./mediapull.py URL --list

# Different browser / profile
./mediapull.py URL -b chrome --profile "Profile 1"

# Stage 1: direct master .m3u8 URL (e.g. from the DevTools)
./mediapull.py "https://stream.video.skool.com/....m3u8?token=..."

Options: -q/--quality {best,1080,720,480,worst,audio}, -o/--output, -b/--browser, --profile, --list, --list-lessons, --all.

How it works

  1. Cookies: reads the skool cookies from the browser's Chromium cookie DB and decrypts them with the Keychain key (auth_token etc.).
  2. Extraction: loads the page, reads playbackId + playbackToken from the __NEXT_DATA__ JSON and builds the manifest URL https://stream.video.skool.com/{playbackId}.m3u8?token={playbackToken}.
  3. Download: yt-dlp downloads the HLS and muxes to MP4. skool restricts playback via the Referer header to skool.com – this is set automatically.

Note

Use only for content you have legitimate access to (your own membership), for personal use. Respect the platform's terms of service and copyright.

About

Download skool.com videos on macOS — auto-decrypts browser cookies (incl. Helium), no manual export needed.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages