Appologies on the messy code structure, I just wanted to put this together quick for use and never extend it.
Will git clone learn lessons in sequence (using the next button) for a specified amount of lessons.
I suggest downloading one section at a time.
If you run this twice without changing the clone_to_path the behavior is unspecified (don't do it).
Please edit the top fields (
chromedriver_path [path to chromedriver],
username [for Learn],
password_text [for Learn],
start [URL for the first lesson to download],
clone_to_path [dir where you want the files to drop into],
lesson_count [how many lessons to be downloaded]
)
if you want the software to run on your machine.
Otherwise you just need to: python3 download.py
in the terminal.
- Python3
- Selenium
- Chromedriver dowload
For chromedriver, make sure to install the driver that matches your chrome version. If you need help check out my blog