Skip to content

Instantly share code, notes, and snippets.

@urosevic
Forked from DonRichards/how-to-download-lynda.md
Last active June 20, 2020 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urosevic/9f4458c921dfe797388a26a18a028a52 to your computer and use it in GitHub Desktop.
Save urosevic/9f4458c921dfe797388a26a18a028a52 to your computer and use it in GitHub Desktop.
How to Download Lynda with youtube-dl

How to Download from Lynda with youtube-dl

Pre-Requirements

  • 1-month free trial or paid learning plan on Linda.com
  • Add Cookies Export extension to your Google Chrome / Chromium / Microsoft Edge browser
  • Install standalone tool youtube-dl to your Windows machine by following instructions on Installation instructions

Get set for download

  1. Visit in your browser Lynda.com and login to your account.
  2. Click Cookies export icon in browser.
  3. On cookie export popup click link click here and file cookie.txt should be downloaded to folder Downloads.
  4. Login is stored in the cookie.txt file. This has a limited life and will expire.
  5. Press Win+R to open Run dialog, type cmd and press Enter to open Command Prompt.
  6. It Command Prompt execute command cd Downloads to change directory.

Single course Download

To download one course and pack all video files to same directory, execute in the Command Prompt command below:

youtube-dl.exe --cookies cookie.txt --limit-rate 4M --output "%%(playlist)s/%%(chapter_number)s - %%(chapter)s - %%(id)s %%(title)s.%%(ext)s" https://www.lynda.com/Drupal-7-tutorials/Creating-and-Editing-Custom-Themes/86650-2.html

Batch Download multiple courses

To download multiple courses with single command, first add URLs for each course to plain text file courses.txt and save it to Downloads directory. Then execute in the Command Prompt command below:

youtube-dl.exe --cookies cookies.txt --limit-rate 4M --output "%%(playlist)s/%%(chapter_number)s - %%(chapter)s - %%(id)s %%(title)s.%%(ext)s" --batch-file courses.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment