Skip to content

Instantly share code, notes, and snippets.

@mohammedmatar
Created July 24, 2019 10:40
Show Gist options
  • Save mohammedmatar/819e233b294a4a11ef59dc07e3a3894f to your computer and use it in GitHub Desktop.
Save mohammedmatar/819e233b294a4a11ef59dc07e3a3894f to your computer and use it in GitHub Desktop.
export username [ PL_USER=your_email] & password [PL_PASS=your_password], make the script executable chmod +x ./pluralsight-downloader.sh and run the sciprt ./pluralsight-downloader.sh "course url"
#!/bin/bash
youtube-dl --username $PL_USER --password $PL_PASS -o "./%(playlist)s/%(chapter_number)s - %(chapter)s/%(playlist_index)s - %(title)s.%(ext)s" --verbose --min-sleep-interval 30 --max-sleep-interval 60 "$1" --playlist-start 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment