Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
youtube-dl to download pluralsight videos

Download Plural Sight videos

Software required:

youtube-dl

After installation and putting the youtube-dl in PATH

youtube-dl \
  --username YOUR_USERNAME \
  --password YOUR_PASSWORD \
  https://www.pluralsight.com/courses/bash-shell-scripting \
  -o "/home/user/videos/%(playlist)s/%(chapter_number)s. %(chapter)s/%(playlist_index)s. %(title)s.%(ext)s" \
  --sleep-interval 10

Where

  • YOUR_USERNAME is your Plural Sight username
  • YOUR_PASSWORD is your Plural Sight password
  • --sleep-internval is optional but it's a safe practice to mimic video watching.
@DaviBittencourt

This comment has been minimized.

Copy link

commented Feb 15, 2017

how to do for windows users?

@ChuckBates

This comment has been minimized.

Copy link

commented Mar 11, 2017

This is a violation of the terms of use. Notice, Pluralsight employees DO monitor scrapers and DO block users.

@jesujcastillom

This comment has been minimized.

Copy link

commented Jun 10, 2017

@SovietBear is right, But this is the only way I can watch their videos, since it isn't working in any browser, but I can download them and watch, from linux, so the app options is not an option. And if they do ban my account, I'll just get another. ;)

@a-eid

This comment has been minimized.

Copy link

commented Jun 12, 2017

what regexp would reproduce the same functionality on lynda.com

@aboyassein

This comment has been minimized.

Copy link

commented Jul 20, 2017

i try to download 2 courses with 2 bash file and one of them give me an error

WARNING: Unable to download JSON metadata: HTTP Error 429: Too Many Requests
[pluralsight] bash-shell-scripting-m6-control-6: Waiting for 5 seconds to avoid throttling
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

if I run the script again did will download from start again ??
if yes!
how to escape what already downloaded?

many thanks

@ghost

This comment has been minimized.

Copy link

commented Aug 26, 2017

Is there a way to bypass them noticing the activities. I want to download and view it locally. It's so much easier.

@steveb4088

This comment has been minimized.

Copy link

commented Sep 5, 2017

Does anyone know if variables can be assigned and placed in the url ? if so could you please explain how i could go about doing this? any help is greatly appreciated thanks

@PracticeX

This comment has been minimized.

Copy link

commented Sep 13, 2017

Does anyone know a workaround to the new reCAPTCHA that guards the site? After downloading a couple courses, I get a 403 error from running youtube-dl. When I go on the site and click login, I am presented with a reCAPTCHA which I think is causing the 403.

@indefinitelee

This comment has been minimized.

Copy link

commented Sep 21, 2017

got

Unable to download JSON metadata: HTTP Error 403: Forbidden (caused by HTTPError())

several times in a row. Then it started working, now it's stopped in the middle of a batch of dls.
Anyone have some ideas?

@ivocosme

This comment has been minimized.

Copy link

commented Sep 22, 2017

@indefinitelee are you logged in in Plural in a browser session? If you are, then try to log out and use the command line. That fixed the Forbidden error for me.

@ProMadGenius

This comment has been minimized.

Copy link

commented Oct 12, 2017

@ivocosme i tried log out in the browser, and try again the command with not success :'v.

@bedus-creation

This comment has been minimized.

Copy link

commented Mar 17, 2018

How can i Skip the first 10 video and start download from 11th ?

@anilshrish

This comment has been minimized.

Copy link

commented Mar 20, 2018

@bedus-creation add this option: --playlist-start 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.