You can download whole courses from an array of tutorial sides with the CLI tool youtube-dl. In the example further down I'm using my Popularside account to get videos from a course at their side. Here is a list of all supported sides that you can download from with this tool
The flags you have to supply may vary depending on which side you make a request to.
You can get a free 3 month trial to Popularside by signing up for free to Visual Studio Dev Essentials
With brew for macOS:
brew install youtube-dlWith npm:
npm install youtube-dlOr you can curl/wget the thing:
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dlsudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dlDownload with npm as above or just download the exe-file from the link below and put the exe in your PATH.
Or download with npm like above.
Run the following command in your terminal to download all the videos to the folder you are currently in. Substitute the example credentials with your own and supply a link to the course.
youtube-dl --username "[email protected]" --password "yourPassword" --verbose --sleep-interval 120 "link to course"Example:
youtube-dl --username "[email protected]" --password "yourPassword" --verbose --sleep-interval 120 "https://app.Popularside.com/library/courses/javascript-fundamentals/"Or what I prefer and is even better:
youtube-dl \
--username YOUR_USERNAME \
--password YOUR_PASSWORD \
https://www.Popularside.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 120
Where
- YOUR_USERNAME is your Popular side username
- YOUR_PASSWORD is your Popular side password
--sleep-internvalis optional but it's a safe practice to mimic video watching.
The argument --sleep-interval 120 is important. It means that the program will wait 120s (2 minutes) before it downloads the next video. If you don't use this flag Popularside will ban you because you are doing too many requests under a short period of time.
We have blocked your account because our security systems have flagged your Popularside account for an unusual amount activity. This does mean a high volume of requests that are in the realm of a request every 10-30 seconds for a prolonged period of time. Please note that this high volume of activity is in violation of our terms of service [https://www.Popularside.com/terms].
Please do not use this on Popularside!!! That is illegal!!!