- Python 3.5 and above
- BeautifulSoup - https://pypi.org/project/beautifulsoup4/
- html5lib - https://pypi.org/project/html5lib/
- Selenium - https://pypi.org/project/selenium/
- ChromeDriver - http://chromedriver.chromium.org/
- youtube_dl - https://pypi.org/project/youtube_dl/
- cookies.txt - https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg?hl=en
Clone the repo
Login to LinuxAcademy and visit the course page e.g. https://linuxacademy.com/cp/modules/view/id/287 and with the
cookies.txt
extention installed, click on the icon of the extension and chooseTo download cookies for this tab click here
. Copy the downloaded txt file to root of the cloned repo. Make sure that the name of the file iscookies.txt
. Repeat when you an encounter exception in downloading the videos (assuming you have an active subscription).
course_link e.g. https://linuxacademy.com/cp/modules/view/id/287
>>> python driver.py username password course_link
Automate the process for obtaining cookies