Coursera Video Downloader
This project uses Selenium (framework for automated browser testing) to replay actions needed to download videos from Coursera. Downloading videos from Coursera is an action allowed normally through the UI, so this is just a wrapper to avoid too many clicking.
Installation
- Have a macOS :)
- Have Python3 installed with working pip (suggestion: use pyenv)
- If using macOS Mojave 10.14, you might need to install xcode, install the headers and set SDKROOT variable as per pyenv/pyenv#1066 (comment)
- Install ChromeDriver for your browser version (Chrome)
- Clone the repository into your machine
- Create a virtualenv on the directory created:
python -m venv venv
Usage
- Activate the virtualenv:
source venv/bin/activate
- Run
pip install -r requirements.txt
- Call the script as
python main.py -u <inputURL> [-o /path/to/output]