A simple python scraper tool that downloads video lessons from Linkedin Learning
In the config.py
file, write your login info and fill the COURSES
array with the slug of the courses you want to download, for example:
https://www.linkedin.com/learning/it-security-foundations-core-concepts/
-> it-security-foundations-core-concepts
USERNAME = 'user@email.com'
PASSWORD = 'password'
COURSES = [
'it-security-foundations-core-concepts',
'javascript-for-web-designers-2',
...
]
You can either run docker-compose or run the code locally.
You need to have docker installed. Then run:
docker-compose up --build
First install the requirements:
pip install -r requirements.txt
If pip
is not installed, run:
python get-pip.py
An updated version of get-pip.py
can also be obtained by executing:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
For more info, check this resource
Then execute the script:
python llcd.py
The courses will be saved in the out
folder.