Pluralsight do not permit users to download their videos.
If you are an user of pluralsight you have agreed with their ToS,
and are thusly refrained from doing so.
Use this knowledge at your own risk.
youtube-dl will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.
You can get it here from their official web-site.
We need to create bat script that will store all the information we need to quickly and easily download videos from pluralsight. Create a new file and name it 'pluralsight.bat'. Put it in the same folder as youtube-dl.exe (from step 1).
for %%a in (%*) do (
.\youtube-dl.exe ^
--username YOUR-USERNAME-HERE ^
--password YOUR-PASSWORD-HERE ^
%%a ^
-o "C:/Users/YOUR-USERNAME-HERE/Videos/Pluralsight/%%(playlist)s/%%(chapter_number)02d - %%(chapter)s/%%(playlist_index)02d - %%(title)s.%%(ext)s" ^ --sleep-interval 35 ^
--max-sleep-interval 120 ^
--sub-lang en ^
--sub-format srt ^
--write-sub
)
- Remember to add your own username, password and the path to where you want the videos to be stored. Replace YOUR-USERNAME-HERE, YOUR-PASSWORD-HERE and YOUR-NAME-HERE.
- If you wish to change the formatting of the output video files, you can learn more about it here.
In order to run the scripts, you need to open up a command prompt or Windows PowerShell. Navigate to the folder you have the script and youtube-dl.exe. Hold left-shift and right mouse click in the folder, and select 'Open PowerShell Window here' or the 'Command Prompt' equivalent.
All you have to do now in order to download pluralsight videos, is to run:
.\pluralsight.bat [URL-HERE]
You can also add multiple URLs, separated by a space:
.\pluralsight.bat [URL1] [URL2] [URL3]
If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
pluralsight-dl ^
[URL1] ^
[URL2] ^
[URL3]
URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name
youtube-dl will allow you to download entire video series just by pasting in the link to the course. This includes english subtitles where applicable.
You can get it here from their official web-site.
We are going to create bash script that will store all the information we need to quickly and easily download videos from pluralsight. Make sure you save it inside /bin, as it will allow us to run the 'pluralsight-dl' command from anywhere.
sudo touch /usr/local/bin/pluralsight-dl
sudo chmod a+rx /usr/local/bin/pluralsight-dl
sudo nano /usr/local/bin/pluralsight-dl
#!/bin/bash
for i in "$@";
doyoutube-dl \
--username YOUR-USERNAME-HERE \
--password YOUR-PASSWORD-HERE \
"$i" \
-o "/home/YOUR-USERNAME-HERE/Videos/%(playlist)s/%(chapter_number)02d - %(chapter)s/%(playlist_index)02d - %(title)s.%(ext)s" \
--sleep-interval 35 \
--max-sleep-interval 120 \
--sub-lang en \
--sub-format srt \
--write-subdone
- Remember to add your own username, password and the path to where you want the videos to be stored. Replace YOUR-USERNAME-HERE, YOUR-PASSWORD-HERE and YOUR-NAME-HERE.
- If you wish to change the formatting of the output video files, you can learn more about it here.
All you have to do now in order to download pluralsight videos, is to run:
pluralsight-dl [URL-HERE]
You can also add multiple URLs, separated by a space:
pluralsight-dl [URL1] [URL2] [URL3]
If you open up a text editor (for copy/paste), you can also prepare all your URL in a similar fashion:
pluralsight-dl \
[URL1] \
[URL2] \
[URL3]
URL is usually formatted similar to https://app.pluralsight.com/library/courses/some-course-name
@shanks-abhi: Yes I downloaded 4-5 courses in a row. I used the following .bat:
youtube-dl --output "E:\Downloads\Pluralsight%%(playlist)s%%(chapter_number)s - %%(chapter)s%%(playlist_index)s - %%(title)s.%%(ext)s" --cookie "pluralsight_cookie.txt" --no-overwrites --no-post-overwrites --verbose --write-sub --min-sleep-interval 100 --max-sleep-interval 120 --rate-limit 254976 --add-header Referer:"https://app.pluralsight.com/library/courses" --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0" --batch-file=batch_filelist_pluralsight.txt
pause
-where "pluralsight_cookie.txt" is the exported plural sight cookie from your browser (see info here: ytdl-org/youtube-dl#26331 (comment)) instead of using your credentials directly.
-where batch_filelist_pluralsight.txt is a textfile which contains the courses (links), one link per row, e.g.:
https://app.pluralsight.com/library/courses/fundamental-cloud-concepts-aws
https://app.pluralsight.com/library/courses/understanding-aws-core-services
[...]
-I also use a real browser user agent