Asynchronous scraping tool to fetch LinkedIn-learning's courses videos.
Dependencies:
- Python 3.6
- aiohttp
- lxml
- argparse
Please use this script for your own purposes.
This script was written for educational usage only.
Make sure your LinkedIn account is NOT protected with 2FA
pip install -r requirements.txt
Course's slug can be obtained using its url
e.g:
COURSE URL: https://www.linkedin.com/learning/python-advanced-design-pattern
SLUG: python-advanced-design-pattern
- Prompt execution permission:
chmod +x linkedin_learning
Run the command:
linkedin_learning --user USER --password PASSWORD --courses slug1 slug2
To get more help run ./linkedin_learning -h
.
Note: /usr/bin/python
is set. So if you have your python3 at somewhere else like /usr/bin/python3
, change it.