DEV Community

Discussion on: How to download courses from Linkedin Learning with python

Collapse
 
minhducbg profile image
minhducbg • Edited

Working!!! On Windows.
For dummies like me

  1. Install Python 3
  2. Open CMD Type: cd "C:\Users\"Your_User_name" \AppData\Local\Programs\Python\Python39\Scripts" and hit Enter

Ex:
cd "C:\Users\Share Full Vn.DESKTOP-K6RVJFF\AppData\Local\Programs\Python\Python39\Scripts"

// My Python ver is 3.9

3 - Type "pip install llvd" in CMD and wait
4 - Create a txt file with the exact name "cookies.txt" as above instruction
5 - Put that txt file in the folder "Scripts" above
6 - Type your custom code and hit Enter to download
EX:
If I want download this course: engineering-drawings-for-manufacturing

My code:
llvd -c "engineering-drawings-for-manufacturing" -r 720 --cookies

-c: name of the of the course with slug
-r 720: Videp 720p
-ca: Download the course with subtitles
--cookies: use cookies in "cookies.txt" to allow authentication to get the video download link of the course

The course will save in folder "Scripts" above

Collapse
 
rugadameghanath profile image
Meghanath Rugada • Edited

I did this , but did not see your comment before doing it. could have saved so much time atleast 40 mins :)

Collapse
 
mayurkadam24 profile image
mayurkadam24

I Tried Following the above steps by it asks me my LinkedIn Learning Creds and my account is not a premium one. However, i have a Student Library card with which i'm logged in but don't have the Email account for that, How can i download in that case ?

Collapse
 
knowbee profile image
Bruce

You could login with your library card in the browser then grab the cookies and use that with llvd..

Follow these instructions github.com/knowbee/llvd#cookie-bas...