Skip to main content

A Python package to download Skillshare classes.

Project description

YOU REQUIRE A SUBSCRIPTION, THIS CODE DOESN'T DOWNLOAD VIDEOS FOR PEOPLE WITHOUT AN ACTIVE SUBSCRIPTION ON SKILLSHARE

Skillshare Downloader

A Python script to download Skillshare videos from a course by simply providing the course ID.

This script now backup the videos on .mkv with subtitles and it's capable to upload the files to Telegram on .mp4 (without subtitles)

Requirements

To use this script, you need to have Python 3.x installed on your system. You can download the latest version of Python from the official website: https://www.python.org/downloads/

Installation

  1. Install using PIP.
  pip install skillshare-downloader
  1. Once installed you can start with the configuration using
  $ cd /[folder_for_files_download]/
  down -config
  1. Open skillshare.com on Chrome and using the inspection window.
  2. Go to network and select the Doc Filter.
  3. Press the first document and inside the headers copy all the Cookies from the Request Headers.
  4. Paste the cookies into a file cookies.txt and save it just in case you want to configure Telegram later.
  5. Now drag and drop cookies.txt into your terminal window and press Enter.
  6. If you don't want configurate Telegram now, just ENTER without text on the api, hash and phone prompts.

Usage

first enter on the folder location you want to download all the videos

  $ cd /[folder_for_files_download]/

The script now comes with resolution and subtitles language option. To download the files locally with the default configuration (en-US at 854x480) you can use:

  $ down 1749908541

By default the video it's going to be downloaded with subtitles on English at 854x480, to change the subtitles language and resolution you can use something like:

  $ down -s es-MX -r 1920x1080 1749908541

If you want to backup your courses to Telegram I recommend you to create a group with topics because the script it's going to create individual topics per course with all the videos inside (Subtitles are not need since Telegram don't support subtitles yet)

  $ down -r 1920x1080 1749908541 -t @yourgroup

You also can use

  $ down -r 1920x1080 1749908541 -t https://t.me/+XXXxxxXXXX

The files are going to be downloaded locally and uploaded to Telegram after each file it's downloaded, but if you want to remove the file after upload, you can use [-e]

  $ down -r 1920x1080 1749908541 -t -e @yourgroup

UPDATES ---------

  • Added automatic resume download
  • Added automatic resume uploads to Telegram on the same Topic
  • If the choosed resolution doesn't exist the script look for the next lower resolution
  • If the subtitles doesn't exist, now download the default en-US subtitles to avoid error

0.2.1 -

  • Fixed an error related with missing video resolutions

0.2.2 -

  • If the video doesn't exist (404) or the content it's Manifest not found (similar to 404 error) The video it's going to be skipped since doesn't exist, on the V 0.2.1 this just was causing an error.

License

This project is licensed under the MIT License.

Acknowledgments

This project was inspired by the need to download Skillshare videos for offline viewing.

Support

If you find this useful and want to support me please make a donation to any of this links:
https://ko-fi.com/polygoncollectibles
https://www.buymeacoffee.com/polygoncollect
https://www.patreon.com/polygoncollectibles
https://www.paypal.me/polygoncollect

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skillshare_downloader-0.2.2.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skillshare_downloader-0.2.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file skillshare_downloader-0.2.2.tar.gz.

File metadata

  • Download URL: skillshare_downloader-0.2.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for skillshare_downloader-0.2.2.tar.gz
Algorithm Hash digest
SHA256 4fe60d7cbc5ffd6be92ff987d6e8027d241e6a842e57bd98bcfb5b03378a4422
MD5 d1a57cf811762dec0070e11a5b63d55b
BLAKE2b-256 43f901e186c2ed29d779e16d528c9142963a0acd3428a2b106def564923e9b6d

See more details on using hashes here.

File details

Details for the file skillshare_downloader-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for skillshare_downloader-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20cff904600c151fe0ed18ac97b16245d76825b458069b0f9cfa6c52b1d9093d
MD5 ff777438756a5bd7d8742f3beb848939
BLAKE2b-256 63ae7c7c950fa6ff7a0f0830749f0f1a753de0303c6b4039c4147f71f14a9f1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page