This is the second iteration of the pluralsight scraper. It is used to retrieve mp4 video files by scraping pluralsight's website using its own API. This project does not endorse piracy and requires a valid pluralsight login to function!
Pluralsight doesn't have a way to play videos offline on Linux as far as I know and I wanted to play stuff offline on Linux, hence this project.
Pluralsight.com FAQ: Can I watch your videos on Linux? Available apps
The script launches a pupputeer.js chromium instance, which it uses to allow you to interactively authenticate with the real website. Once logged in, it will save your cookies to a separate file (cookies.txt
) in order to authenticate the API requests required to download the video files.
-
Clone the repo
git clone https://github.com/knyzorg/pluralsight-scraper
-
Run
npm install
to install the dependencies -
Run
npm run login
to open a session -
Run
npm run get -- "https://app.pluralsight.com/library/courses/rust-fundamentals/table-of-contents"
to begin downloading the course
Yes it is: Refer to Section 5
The applicable License granted you by these Terms of Use is a right of access through the Site only, and does not grant to you any right to download or store any Proprietary Materials in any medium[...]
There is a relatively high likely-hood that your account will be flagged for running this script. It is very difficult to evade such things and the current strategy is to naively wait 30 seconds between requests.