Skip to content

Instantly share code, notes, and snippets.

@munim
Last active July 28, 2022 21:19
Show Gist options
  • Save munim/19db42eefc65049b2119e4c6a820c415 to your computer and use it in GitHub Desktop.
Save munim/19db42eefc65049b2119e4c6a820c415 to your computer and use it in GitHub Desktop.
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.
@anilshrish
Copy link

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

@ITReliable
Copy link

ITReliable commented Nov 1, 2020

works for me today 2020-10-31 with batch file for exmaple download.bat
for %%a in (%*) do (
.\youtube-dl.exe ^
--verbose ^
--add-header Referer:'https://app.pluralsight.com/library/courses/' ^
--username "yourusername" ^
--password "yourpassword" ^
%%a ^
-o "%%(playlist)s/%%(autonumber)03d-%%(title)s.%%(ext)s" ^
--min-sleep-interval 90 ^
--max-sleep-interval 133 ^
--sub-format srt ^
--write-sub
)


Usage example:
download.bat https://app.pluralsight.com/library/courses/microsoft-azure-solutions-architect-design-governance/table-of-contents

@AhmedGamalGazar
Copy link

@wordmountain Is It still working with you

@that-coder
Copy link

@AhmedGamalGazar worked for me!

@pravinbelurkar
Copy link

pravinbelurkar commented Feb 17, 2021

I don't have much idea how to start. Can someone please give me all steps for windows?
I am getting below errors -
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment