- Install Cookies Export
- Login to Lynda and navigate to the course you want
- Cookies export button in browser
- Copy "cookie.txt" to your desktop
- Open terminal
For OSX
$ cd ~/Desktop
$ brew install youtube-dl
$ youtube-dl --write-pages --cookies cookie.txt --verbose --limit-rate 4M https://www.lynda.com/Drupal-7-tutorials/Creating-and-Editing-Custom-Themes/86650-2.html --verbose
Login is stored in the cookie.txt file. This has a limited life and will expire. It might leave "dump" files if there is any errors. These can be deleted.
@a-eid @mahdimohajeri Maybe you could use some of the variables to get the current download number and put this in front of the filename format.
EDIT: there is a
autonumber
variable which you could use like so: "%(playlist)s/%(autonumber) %(title)s.%(ext)s"