A bash script to download Skillshare classes with a premium account. It gets class information, passes the stream information to yt-dlp
and downloads it.
Usage: skillshare_downloader [-rx] (-c class_id) [-j /path/to/headers] [-d /path/to/output] [-y "<extra yt-dlp options>"]
Options:
-c: [Required] Class id; taken from the url
(https://www.skillshare.com/en/classes/full-class-name/<class id>)
-j: Path to request headers; found by inspecting the network
request made to Skillshare (default: $HOME/.config/skillshare.headers)
-d: Path to output directory of video files (default: $PWD)
-r: Refresh class details; useful if class has been updated
(will use cache by default)
-y: Pass extra options to yt-dlp
-h: Show this help message
-x: Enable debug logging
To acquire the request headers, follow these steps:
- Go to https://skillshare.com and select a class
- Open the Developer tools in Chromium-based or Firefox-based browsers:
- Windows/Linux: Use the shortcut
F12
- MacOS: Use the shortcut
Cmd + Alt + I
- Windows/Linux: Use the shortcut
- Switch to the Network tab
- Refresh the page
- Scroll to the top of the request list
- Right-click on the top request (the request for the class page) and select:
- Firefox: "Copy Value > Copy request headers"
- Chrome: "Copy > Copy as cURL"
- Paste this into a file such as
~/.config/skillshare.headers
GNU General Public License v3.0