Coder Social home page Coder Social logo

ikeboy / pluralsight-scraper Goto Github PK

View Code? Open in Web Editor NEW
136.0 9.0 49.0 70 KB

Pluralsight video downloader

Home Page: https://www.knyz.org/blog/post/pluralsight-scraper-released/

License: GNU General Public License v2.0

JavaScript 100.00%
pluralsight offline pluralsight-scraper education ripper

pluralsight-scraper's Introduction

Pluralsight Scraper

What is this?

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!

Sample Output

Why?

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

How?

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.

Usage

  1. Clone the repo git clone https://github.com/knyzorg/pluralsight-scraper

  2. Run npm install to install the dependencies

  3. Run npm run login to open a session

  4. Run npm run get -- "https://app.pluralsight.com/library/courses/rust-fundamentals/table-of-contents" to begin downloading the course

Isn't this against Pluralsight's Terms of Service?

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[...]

Detection Evasion

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.