After installation and putting the youtube-dl in PATH
youtube-dl \
--username YOUR_USERNAME \
--password YOUR_PASSWORD \
https://www.trainingsite.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
- YOUR_USERNAME is your training site username
- YOUR_PASSWORD is your training site password
--sleep-internvalis optional but it's a safe practice to mimic video watching.
Please, only use it for your convenience so that you can watch the course videos on your iPod, TV, etc.
Usage for the purpose of piracy is strictly prohibited, decrypted videos should not be uploaded to open servers, torrents, or other methods of mass distribution. Any consequences resulting from misuse of this tool are to be taken by the user.