โ ๏ธ This project is very WIP, the link to the video page or the video itself might not be recognised. This project is a fork of a fork of the original repository so our programs may not work together in the future. I'm probably not even gonna work on this anymore so feel free to try out the other forks! ๐ Since this is a fork of a fork, most of the text that uses the first person refers to POPLOPUK and not me.
This is a project intended to automatically download all videos in a course and store them locally. My aim has been merging memst's and dylantjb's code into one single script easy to use script that any user can run without having to understand the code along with my edits. Benefits include:
- Being able to playback videos at speeds the Kaltura player doesn't allow you
- Being able to use subtitles as a semi-accurate transcript
- Being able to watch high-resolution video streams with no buffering
- Offline download for those with bad internet connections.
Todo (this section is for Zishan)
- Basically wait until POPLOPUK does everything he wants to do (I plan to either merge his changes into my fork or vice versa)
- Get this darn thing working on my computer! All I did so far was comment out 2 lines, and soon I uncommented those lines again because the program just stopped working (for some reason)! ๐
- Maybe delete this repository?
- Keats
- To install the python modules used by the project run the following in the directory.
pip3 install -r requirements.txt
- Download the chrome selenium driver here. Extract and place it in the main directory such that the directory looks like this.
./selenium/chromedriver.exe
./selenium/chromedriver/
- Download FFMpeg here. Copy the contents of the bin folder so that there are 3 files in the main directory.
./ffmpeg.exe
./ffplay.exe
./ffprobe.exe
- Edit
courses.txt
file with the URLs to all the courses modules you want to download separated by a new line. Its contents should look something like this(+example for Keats):
https://[Moodle Website]/course/view.php?id=AAAAA
https://[Moodle Website]/course/view.php?id=BBBBB
https://keats.kcl.ac.uk/course/view.php?id=CCCCC
https://keats.kcl.ac.uk/course/view.php?id=DDDDD
- Execute main.py and it should walk you through the steps.