Skip to content

Instantly share code, notes, and snippets.

@DonRichards
Created October 11, 2016 20:05
Show Gist options
  • Save DonRichards/6c3f4d553c2384eca87b6dfc9f5c5826 to your computer and use it in GitHub Desktop.
Save DonRichards/6c3f4d553c2384eca87b6dfc9f5c5826 to your computer and use it in GitHub Desktop.
How to Download Lynda with youtube-dl

How to Download Lynda with youtube-dl with an organization login

Needed:

Cookies Export youtube-dl

  • 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.

@Learnpython-code
Copy link

How can download since video number until the last video number, because the download stop and got winerror 10060 a connection attempt failed because the connected party did not properly respond.

@zikyfranky
Copy link

How can download since video number until the last video number, because the download stop and got winerror 10060 a connection attempt failed because the connected party did not properly respond.

youtube-dl have some flags for this

--playlist-start NUMBER          Playlist video to start at (default is 1)
--playlist-end NUMBER            Playlist video to end at (default is last)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment